Important tips when you deploy Rails to Dreamhost

{{183170786}}

  • remember you can always debug stuff (further then the really informative “Rails application didn’t start properly”) starting webrick server via SSH on a random port (using the -p switch).
  • remember you are switching to production, so you need to create the database, setup database.yml, migrate your schema and setup RAILS_ENV accordingly.
  • if deploying to Dreamhost, install the Dreamhost Plugin
  • Capistrano is your friend! (watching “rake deploy” going through its tasks is a lovely feeling)

About the photo disclaimer: no white powder was used to write this post nor to develop my webapp.

Categories: