test/totoro_test/bin/rails in totoro-0.4.1 vs test/totoro_test/bin/rails in totoro-0.5.0
- old
+ new
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
begin
- load File.expand_path('../spring', __FILE__)
+ load File.expand_path('spring', __dir__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'