mirror of
https://github.com/github/rails.git
synced 2026-01-08 06:13:56 -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
|
# bust gem prelude
|
||||||
if defined? Gem
|
require 'rubygems' unless defined? Gem
|
||||||
gem 'bundler'
|
|
||||||
else
|
|
||||||
require 'rubygems'
|
|
||||||
end
|
|
||||||
require 'bundler'
|
require 'bundler'
|
||||||
Bundler.setup
|
Bundler.setup
|
||||||
Reference in New Issue
Block a user