3

I followed the tutorial 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?

0

2 Answers 2

4

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

rails -v
Sign up to request clarification or add additional context in comments.

1 Comment

I figured out the issue myself, I ran ruby script/server inside the directory and the problem solved itself, thanks for taking the time and effort to try to help!
1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.