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
Written by Mariz Melo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#