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

1

8

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'
Haematogenesis answered 13/1, 2012 at 15:56 Comment(0)
F
20

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
Flay answered 21/1, 2012 at 3:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.