Update the Bundler snippet for 0.9.15 and above
This commit is contained in:
parent
86defed5ad
commit
ca378659bc
@ -24,5 +24,5 @@
|
||||
s.add_dependency('activeresource', version)
|
||||
s.add_dependency('actionmailer', version)
|
||||
s.add_dependency('railties', version)
|
||||
s.add_dependency('bundler', '>= 0.9.14')
|
||||
s.add_dependency('bundler', '>= 0.9.19')
|
||||
end
|
||||
|
@ -1,14 +1,6 @@
|
||||
# Use locked gems if present.
|
||||
begin
|
||||
require File.expand_path('../../.bundle/environment', __FILE__)
|
||||
|
||||
rescue LoadError
|
||||
# Otherwise, use RubyGems.
|
||||
require 'rubygems'
|
||||
|
||||
# And set up the gems listed in the Gemfile.
|
||||
if File.exist?(File.expand_path('../../Gemfile', __FILE__))
|
||||
require 'bundler'
|
||||
Bundler.setup
|
||||
end
|
||||
require 'rubygems'
|
||||
# Set up gems listed in the Gemfile.
|
||||
if File.exist?(File.expand_path('../../Gemfile', __FILE__))
|
||||
require 'bundler'
|
||||
Bundler.setup
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user