Linux‎ > ‎Ruby & Rails‎ > ‎

RoR (Ruby on Rails) primer

posted May 2, 2014, 6:55 PM 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