spec/dummy/config/boot.rb in ros-apartment-2.3.0 vs spec/dummy/config/boot.rb in ros-apartment-2.4.0

- old
+ new

@@ -1,11 +1,13 @@ +# frozen_string_literal: true + require 'rubygems' -gemfile = File.expand_path('../../../../Gemfile', __FILE__) +gemfile = File.expand_path('../../../Gemfile', __dir__) 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 +$LOAD_PATH.unshift File.expand_path('../../../lib', __dir__)