has many :code_blocks

Random thoughts and postings to keep track of my learning process

How to get mongrel working with Rails 3.0

leave a comment »


Here’s what to do to use mongrel instead of webrick (webrick is the default server used by Rails 3.0) after you type: “rails server” in  your console window.

First open your Gem file, and insert the line:

gem ‘mongrel’

and save the file.

Now, when you fire up your rails up in dev mode with “rails server”, you should have mongrel as your web server.

Advertisements

Written by nkartcode

22/10/2010 at 7:55 PM

Posted in ruby on rails

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

%d bloggers like this: