mirror of
https://github.com/github/rails.git
synced 2026-01-06 21:34:08 -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:
@@ -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
|
||||
Reference in New Issue
Block a user