I am trying to install mongrel_service gem on Windows (although this
problem seems to hold for any non-compiled gem). I have tried this
with Windows Server 2003 and 2008. Also with Ruby version 1.8.7 and
1.9.1 (Luis Lavena's one click installer). Both with the same result.
The error message (full text below) mentions that I have to install
development tools first. I have installed MinGW and MSYS and placed
the MinGW bin into my windows path (even though I thought that the
purpose of the one click ruby installer was to also include necessary
tools to compile gems that need it).
I am about to tell my company to forget about windows, but before I
do, has anyone made it through this?
c:\>gem install mongrel_service --include-dependencies --no-rdoc --no-
ri
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Building native extensions. This could take a while...
ERROR: Error installing mongrel_service:
ERROR: Failed to build gem native extension.
C:/Ruby191/bin/ruby.exe extconf.rb
checking for RegisterServiceCtrlHandlerEx()... *** extconf.rb failed
I am trying to run the hello_world app. I followed instructions here:
gem install mongrel_service --platform i386-mswin32 and the mongrel
service was installed.
However when I tried to run hello_world>sc-server I received the
following error:
FATAL RubyGem version error: mongrel(1.1.5 not >=0)
Sometimes I have to install the gem in the can and line to load the
gem on my windows machine and then 'bundle install' works.
I have also written this post in windows and rails 3.
Cheers,
John Ivanoff
I've registered for the Bike MS: SAM'S CLUB Ride to fulfill a personal
challenge, and also to help the National MS Society fund research,
advocate for change and help people with MS and their families lead
powerful lives. I believe in the work they do and want to be part of
it.