Permalink
Browse files

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

…s repo
  • Loading branch information...
1 parent a44652b commit 514624e53c7b3008e3c492ef01f4d85188cdbbd7 @spastorino spastorino committed Jul 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/base.rb
View
2 railties/lib/rails/generators/base.rb
@@ -3,7 +3,7 @@
rescue LoadError
puts "Thor is not available.\nIf you ran this command from a git checkout " \
"of Rails, please make sure thor is installed,\nand run this command " \
- "as `ruby /path/to/rails new myapp --dev`"
+ "as `ruby #{$0} #{ARGV.join(" ")} --dev`"
exit
end

0 comments on commit 514624e

Please sign in to comment.