提交 f7e33620 编写于 作者: P Piotr Sarnacki

Allow to use BUNDLE_GEMFILE env variable in boot.rb [#6184 state:resolved]

上级 006ec77e
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Set up gems listed in the Gemfile. # Set up gems listed in the Gemfile.
gemfile = File.expand_path('../../Gemfile', __FILE__) gemfile = File.expand_path('../../Gemfile', __FILE__)
begin begin
ENV['BUNDLE_GEMFILE'] = gemfile ENV['BUNDLE_GEMFILE'] ||= gemfile
require 'bundler' require 'bundler'
Bundler.setup Bundler.setup
rescue Bundler::GemNotFound => e rescue Bundler::GemNotFound => e
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册