Thursday, July 16, 2009

Rake Production (Specifying an Environment to Rake)

I always forget how to specify an environment for rake commands. So I thought I would capture it here because, as it turns out, it is a hard thing to google.

rake RAILS_ENV=production db:migrate

No comments: