Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adds a comment in cli.rb so that it is clear that exec_script_rails! …

…performs an exec call
  • Loading branch information...
commit e2d73f01a9245bc41aa7addaa9d7a08b7f453358 1 parent ba03dd4
@fxn fxn authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  railties/lib/rails/cli.rb
View
2  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__)
Please sign in to comment.
Something went wrong with that request. Please try again.