문제

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'
도움이 되었습니까?

해결책

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top