开发者

Rails command not working

开发者 https://www.devze.com 2023-01-30 13:38 出处:网络
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 comm

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

精彩评论

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