diff options
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/cli.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/cli.rb b/railties/lib/rails/cli.rb index d49431919d..1260772605 100644 --- a/railties/lib/rails/cli.rb +++ b/railties/lib/rails/cli.rb @@ -1,6 +1,8 @@ require 'rbconfig' require 'rails/script_rails_loader' +# If we are inside a Rails application this method performs an exec and thus +# the rest of this script is not run. Rails::ScriptRailsLoader.exec_script_rails! railties_path = File.expand_path('../../lib', __FILE__) |