Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why doesn't mongrel start in Rails 3.2.rc?

GEMFILE that starts mongrel

gem 'rails', '3.1.0'
gem 'mongrel', '>=1.2.0.pre2'

GEMFILE that start WEBrick (not mongrel)

gem 'rails', '3.2.0.rc2'
gem 'mongrel', '>=1.2.0.pre2'
like image 660
Sam Duvall Avatar asked Jan 13 '12 15:01

Sam Duvall


1 Answers

Starting on Rails 3.2 you must specify the server you want to use, otherwise Webrick will be used.

So, to use mongrel, you must place the gem at your Gemfile AND start the server like this:

$ rails s mongrel
like image 104
Dante Regis Avatar answered Nov 05 '22 23:11

Dante Regis