Permalink
Browse files

Allow to use BUNDLE_GEMFILE env variable in boot.rb [#6184 state:reso…

…lved]
  • Loading branch information...
1 parent acd716b commit d1b4f3ba9f099707aded7578a2af1d088694a680 @drogus drogus committed Dec 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/config/boot.rb
@@ -3,7 +3,7 @@
# Set up gems listed in the Gemfile.
gemfile = File.expand_path('../../Gemfile', __FILE__)
begin
- ENV['BUNDLE_GEMFILE'] = gemfile
+ ENV['BUNDLE_GEMFILE'] ||= gemfile
require 'bundler'
Bundler.setup
rescue Bundler::GemNotFound => e

0 comments on commit d1b4f3b

Please sign in to comment.