spec/dummy/config/boot.rb in enju_event-0.1.17.pre21 vs spec/dummy/config/boot.rb in enju_event-0.1.17.pre22
- old
+ new
@@ -1,10 +1,10 @@
require 'rubygems'
-gemfile = File.expand_path('../../../../Gemfile', __FILE__)
+gemfile = ENV['BUNDLE_GEMFILE'] || File.expand_path('../../../../Gemfile', __FILE__)
if File.exist?(gemfile)
ENV['BUNDLE_GEMFILE'] = gemfile
require 'bundler'
Bundler.setup
end
-$:.unshift File.expand_path('../../../../lib', __FILE__)
\ No newline at end of file
+$:.unshift File.expand_path('../../../../lib', __FILE__)