test/dummy/bin/setup in rails_ops-1.4.1 vs test/dummy/bin/setup in rails_ops-1.4.2
- old
+ new
@@ -2,10 +2,10 @@
require 'pathname'
require 'fileutils'
include FileUtils
# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+APP_ROOT = Pathname.new File.expand_path('..', __dir__)
def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")
end