mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update the Bundler snippet for 0.9.15 and above
This commit is contained in:
parent
86defed5ad
commit
ca378659bc
2 changed files with 7 additions and 15 deletions
|
@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|||
s.email = 'david@loudthinking.com'
|
||||
s.homepage = 'http://www.rubyonrails.org'
|
||||
s.rubyforge_project = 'rails'
|
||||
|
||||
|
||||
s.files = []
|
||||
s.require_path = []
|
||||
|
||||
|
@ -24,5 +24,5 @@ Gem::Specification.new do |s|
|
|||
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 a new issue