开发者

Rails command not working

I followed the tuto开发者_如何学Gorial at

http://api.rubyonrails.org/

to install Rails. However, when I run the Rails command, Rails new myapp in bash it creates the project new. When I try the command Rails server it creates the project server. What am I doing wrong?


This seems like rails 2.x behavior. Can you please verify which rails version you are running with:

rails -v


You should upgrade to rails 3.

I recommend you to try using this: http://www.rubyenterpriseedition.com/download.html Once on the installer, it'll tell you which dependecies you need for your OS and which commands you should run.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜