I am deploying a rails 3 application on a windows machine and I wan to run the app on mongrel. I have installed mongrel manually (not through bundler). I didn't installed it through bundler because when I tried it, it errors
Fetching source index for rubygems.org
Could not reach rubygems repository
http://rubygems.org Could not find gem mongrel <>=0, runtime in any of the source
So I downloaded .gem and installed.
But bundler still looks to fetch it from the repository. Also, when I try to start server using "rails server mongrel" it says
no such file to load - mongrel
I have a similar setup that works now for me. Here are the details:
gem 'mongrel', '1.2.0.pre2'
to theGemfile
in my Rails application.I start the server with
rails s
, and it takes Mongrel as a default. See the similar question LoadError running Mongrel with Rails3 and Ruby 1.9.2Hope the same setup works for you as well.