1
0
Fork 0
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:
Josh Kalderimis 2011-07-17 15:21:19 +02:00
parent d664eba5b4
commit e6f0c24bc3

View file

@ -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