]> git.openstreetmap.org Git - rails.git/blobdiff - script/rails
Use lazy translation lookups for redactions
[rails.git] / script / rails
index f8da2cffd4de029d658fe2f7b9ec88f28dc34a9a..4cea4ea17353ae2c93879c61fe73de061a0be05e 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env ruby
 # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
 
-APP_PATH = File.expand_path('../../config/application',  __FILE__)
-require File.expand_path('../../config/boot',  __FILE__)
-require 'rails/commands'
+APP_PATH = File.expand_path("../config/application", __dir__)
+require File.expand_path("../config/boot", __dir__)
+require "rails/commands"