Yet Another Guide to Installing Mephisto on Dreamhost
Posted by labrat
UPDATE: mede.us: Mephisto and Dreamhost is the best guide that works so far. I've updated my post to reflect this.
12/2/2006
I've finally gotten Mephisto to run on Dreamhost. The process was a bit painful so here's the rundown.
If you're not on dreamhost, log into your server with ssh via terminal. Use the following to check out from svn (this will make upgrading easier at a later date):
svn co http://svn.techno-weenie.net/projects/mephisto/trunk my_mephisto_blog_directory
If you are on dreamhost, log into your server via ssh and download the most recent stable release:
curl -O http://s3.amazonaws.com/mephisto-blog/mephisto-0.7.3.tar.gz
tar xzvf mephisto-0.7.3.tar.gz
mv mephisto-0.7.3.tar.gz my_mephisto_blog_directory
Follow the dreamhost wiki to install local gems (needed for tzinfo).
Then you should be able to do the following:
gem install tzinfo
If not here's an alternative way.
If you can't get mephisto running on dreamhost the most likely culprit is tzinfo. If the gem install is successful, type the following into your terminal:
rake gems:freeze GEM=tzinfo
Sometimes that's not enough. If so try the following(you might need to get an alternate download location since mirrors change):
curl -O http://rubyforge.iasi.roedu.net/files/tzinfo/tzinfo-0.3.1.tar.gz
tar xzvf tzinfo-0.3.1.tar.gz
mv tzinfo-0.3.1 my_mephisto_install/vendor
Go back into the terminal and change directories to your mephisto installation and type:
rake rails:freeze:edge
Go to your Dreamhost web control panel and in Domains>Manage Domains, edit the domain of your blog to check FCGI support and point the home directory to the public folder:
Web Directory: /home/username/my_mephisto_blog_directory/public/
Set up all your databases for production, development, and test. Modify database.yml accordingly.
Also modify .htaccess (should be line 32) to enable fcgi. It should read:
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
For the config/environment.rb comment out the following on line 5(remove the \#):
ENV['RAILS_ENV'] ||= 'production'
Now go to your mephisto directory via terminal. First, chmod public and log directory to 0755, then type the following:
rake RAILS_ENV=production db:bootstrap
Go to your_blog_domain/admin and you should be able to login with the username: admin & password:test.
The proof.
As you can see, I'm still using Typo. Actually, I'm a little on the fence right now. As much as I've grown used to Typo, the mind-share is clearly tipping towards Mephisto. The official rails blog is obviously on Mephisto and so is Tobi's! When the creator of Typo goes Mephisto that really says something.
The Typo team is working quite hard at re-factoring the code and they even checked in a major change that incidentally broke my typo. However, I'm also finding some calls to the controller in model code. Plus the code-base is radically different.
Mephisto still weighs in at half the LOC of Typo but has stuff like multi-blog management and such on the way with more advanced resource management. It's more of a lean/mean CMS with blog capabilities. It could be a serious contender against WordPress or Movable Type in the near future. You really can't beat the beauty and simplicity of a two-man team (including a monster coder that writes a 300-line forum app in his spare time) that includes a great coder and talented designer.
But then again, I'm a little too lazy to go through with the hassle so I'll wait until the dust settles which means no migration and no more "svn up" on this Typo either!

I’ve done an upgraded and simple guide to install mephisto on dreamhost. You can find it here : http://www.julienmarie.com/2007/3/19/installing-mephisto-on-dreamhost-a-new-guide
best site
Best loss
best price
Nice Site! http://google.com