Last Updated: February 25, 2016
·
679
· jmarizgit

Rails Environments

Webserver in different rails environments:

RAILS_ENV=production rails s
RAILS_ENV=test rails s

Creating your database for test environment:

RAILS_ENV=test rake db:create