Permalink
Browse files

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

…performs an exec call
  • Loading branch information...
1 parent 04a8601 commit df367adba121739c0b4a47dda6ac02e348746c65 @fxn fxn committed Aug 26, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 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__)

0 comments on commit df367ad

Please sign in to comment.