[ruby-on-rails] How to start rails server?

If you are in rails2 version then to start the server you have do,

script/server or

./script/server

But if you are in rails3 or above version then to start the server you have do,

rails server or

rails s