Linux‎ > ‎Ruby & Rails‎ > ‎

RoR (Ruby on Rails) primer

posted 2 May 2014, 18:55 by Chris Martin

To create a new rails project and populate with the required directories etc use

rail new <project name>

Install Gems required for a project that are specified in the Gemfile.
It is good practice to run this command when eve you go a git checkout or pull

bundle install

Update the database scheme
It is good practice to run this command when eve you go a git checkout or pull

rake db migrate







Comments