Project

General

Profile

Windows installation: How to install win32-service-0.5.2-mswin32.gem

Added by Scott ! over 12 years ago

When I put both

win32-service-0.5.2-mswin32.gem
and
mongrel_service-0.3.4-i386-mswin32.gem

together in C:\Program Files (x86),
then run cmd "gem install mongrel_service",
only 1 gem installs. Have re-tried this M A N Y times.

HOW TO MAKE WIN32 SERVICE INSTALL?

@Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Scott>gem install mongrel_service
Successfully installed mongrel_service-0.4.0
1 gem installed
Installing ri documentation for mongrel_service-0.4.0...
Installing RDoc documentation for mongrel_service-0.4.0...

C:\Users\Scott>@

I'm so close to getting a working Redmine installation, this seems to be the final problem. Thank you for any help.


Replies (3)

RE: Windows installation: How to install win32-service-0.5.2-mswin32.gem - Added by Anonymous over 12 years ago

You can install it by the absolute path to the gem

eg:
gem install C:\Users\Scott\win32-service-0.5.2-mswin32.gem
if your gem in under the path of C:\User\Scott

RE: Windows installation: How to install win32-service-0.5.2-mswin32.gem - Added by Scott ! over 12 years ago

联新 祝

Thank you.

Installing the 2 gems was finally successful after I moved Redmine and the 2 gems up to the Windows root at C:\.

Trying to put them at a lower level in the Windows directory structure to C:\Program Files (x86) seems to have been part of the problem (did not work).

The mongrel and windows service still will not start, but at least the gems are installed now.

Thank you.

RE: Windows installation: How to install win32-service-0.5.2-mswin32.gem - Added by Etienne Massip over 12 years ago

Mongrel service did not run smoothly with 1.4 + MRI 1.9 for me, I had an issue with coookie management which was not present when I ran Mongrel with ruby script/server.

I eventually had to write a tiny myservice.rb using directly win32-service gem then sc create binPath= "ruby myservice.rb".

    (1-3/3)