mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
This fixes an issue when bundling to a local path (eg. /vendor/bundle).
If you bundle to a local path bundler is not included in it, so calling "gem 'bundler'" will fail.
This commit is contained in:
parent
d664eba5b4
commit
e6f0c24bc3
1 changed files with 2 additions and 6 deletions
|
@ -1,8 +1,4 @@
|
|||
# bust gem prelude
|
||||
if defined? Gem
|
||||
gem 'bundler'
|
||||
else
|
||||
require 'rubygems'
|
||||
end
|
||||
require 'rubygems' unless defined? Gem
|
||||
require 'bundler'
|
||||
Bundler.setup
|
||||
Bundler.setup
|
Loading…
Reference in a new issue