spec/dummy/config/boot.rb in cadenero-0.0.2.b2 vs spec/dummy/config/boot.rb in cadenero-0.0.2.b3

- old
+ new

@@ -1,10 +1,6 @@ require 'rubygems' -gemfile = File.expand_path('../../../../Gemfile', __FILE__) -if File.exist?(gemfile) - ENV['BUNDLE_GEMFILE'] = gemfile - require 'bundler' - Bundler.setup -end +# Set up gems listed in the Gemfile. +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) -$:.unshift File.expand_path('../../../../lib', __FILE__) \ No newline at end of file +require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])