提交 514624e5 编写于 作者: S Santiago Pastorino

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

上级 a44652ba
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册