Skip to content
This repository
Browse code

Fixes usage message when running rails without --dev on a cloned rail…

…s repo
  • Loading branch information...
commit 514624e53c7b3008e3c492ef01f4d85188cdbbd7 1 parent a44652b
Santiago Pastorino authored July 26, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  railties/lib/rails/generators/base.rb
2  railties/lib/rails/generators/base.rb
@@ -3,7 +3,7 @@
3 3
 rescue LoadError
4 4
   puts "Thor is not available.\nIf you ran this command from a git checkout " \
5 5
        "of Rails, please make sure thor is installed,\nand run this command " \
6  
-       "as `ruby /path/to/rails new myapp --dev`"
  6
+       "as `ruby #{$0} #{ARGV.join(" ")} --dev`"
7 7
   exit
8 8
 end
9 9
 

0 notes on commit 514624e

Please sign in to comment.
Something went wrong with that request. Please try again.