aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rails
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rails')
-rwxr-xr-xbin/rails6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/rails b/bin/rails
index 9587c07f0..7feb6a30e 100755
--- a/bin/rails
+++ b/bin/rails
@@ -1,10 +1,8 @@
-#!/usr/bin/env jruby
+#!/usr/bin/env ruby
begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
-# 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_relative '../config/boot'
require 'rails/commands'