test/dummy/bin/rails in s3_relay-0.5.1 vs test/dummy/bin/rails in s3_relay-0.6.0

- old
+ new

@@ -1,4 +1,9 @@ #!/usr/bin/env ruby -APP_PATH = File.expand_path('../../config/application', __FILE__) +begin + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') +end +APP_PATH = File.expand_path('../config/application', __dir__) require_relative '../config/boot' require 'rails/commands'