Slicehost, mephisto and passenger

Posted by joakimk, Thu May 29 20:57:00 UTC 2008

I’ve been trying to get rails to run on a shared hosting account… I had some success and I had some problems. In the end I’ve decided to try another route. One really nice solution is to the use the Heroku service where you can create an application right there and then and have them take care of your hosting.

However… If you’re like me you probably feel a bit more at home with a VPS. After a bit of searching I settled for Slicehost. One of the things that sold me on Slicehost is the great set of articles on how to get various environments running smoothly.

I’m trying Phusion Passenger for this site and so far it has proven to be fast and reliable.

One thing to take note of is that with the 256 MB slice the ‘gem’ tool will take some time as it uses so much memory the swap has to step in and take the load… make sure you run it with—no-ri and—no-rdoc.

Mephisto worked out of the box. I also added Ultraviolet syntax highlighting using a plugin by David Stevenson. Just make sure you include the css of the syntax-theme you intend to use. I’ve yet to find a really good way to do this, so I just link it in the blog-theme’s layout for now.

This is the first post on this blog, but I’ve been blogging for a couple of years at blogger. The goal with this blog is to focus more on Ruby. There is also the nice side effect of getting more control over the blog software now that I don’t use blogger.

Filed Under: | Tags:

Comments

Have your say

A name is required. You may use HTML in your comments.