How to start rails server?
For rails 2.3.2 you can start server by:
ruby script/server
Make sure you're in the right directory when you start the server
sites>yoursite> rails s
For rails 3.2.3 and latest version of rails you can start server by:
First install all gem with command: bundle install
or bundle
.
Then Configure your database to the database.yml
.
Create new database: rake db:create
Then start rails server. rails server
orrails s
In a Rails 2.3 app it is just ./script/server start