Wednesday, June 18, 2008

Migrating in a production environment

rake db:migrate RAILS_ENV=production
or
rake db:migrate RAILS_ENV="production"

Sunday, June 8, 2008

Add localhost.localdomain to local DNS (or hosts file)

  1. Goto Start > Run
  2. Type in "system32" (without the quotations)
  3. Goto the folder called "drivers"
  4. Goto the folder called "etc"

The hosts file should be in there. Just open it up with notepad or something and add in 127.0.0.1 localhost.localdomain

Links:

http://mu.wordpress.org/forums/topic.php?id=3152