Mellell - Lots to say

Web 2.0 Rails/Telephony Architect

Mephisto on Dreamhost lessons

February 21st, 2007

No need to add to the many blog posts on how to install Mephisto on Dreamhost. We focus here on a few of our hard learned lessons in the course of deploying (one of our first) Mephisto on Dreamhost. Some of the items don't relate specifically to Mephisto, but they're here since you may run into them.

  1. Make sure you freeze the latest version of Rails.
  2. Mephisto needs the tzinfo gem. However, you can't install it in the system Gem repository, so you have to make a local gem repository. But hang on, that's not enough.
  3. You might get weird, unexplainable errors when trying to install a gem in the local repository. It might be necessary to wipe the gem cache. that did it for us.
  4. Mephisto still wouldn't run. We finally had to rely on downloading tzinfo.tar.gz, unpacking and placing it directly in vendor as described here
  5. Watch you file permissions. In general, they should all be 0711, except that .htaccess, and the subdirectories images, javascripts, stylesheets and tags, all under the public subdirectory have to be world readable at least. 6.In the Dreamhost panel, point the site to the public subdirectory.
  6. If you have trouble, we're here and will be glad to relate to your questions.

Leave a Reply

 

Categories

Archives