Switching to mongrel in rails 3

Dead easy with a few hiccups if you’re using newer ruby versions. First install the mongrel gem;

> gem install mongrel --pre

The problem I had (and later overcame) was in not adding in the --pre option into the install – turns out the current stable doesn’t play very well with newer ruby versions. This is likely to be fixed at some point, but this’ll get you through today šŸ™‚

After that, just add the following to your Gemfile;

gem 'mongrel'

then just bundle install and rails will use mongrel as the default web server.

Advertisements

One thought on “Switching to mongrel in rails 3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s