Using mongrel_rails: Can't install Redmine as win2003 service

Hello everyone.

After stugging 3+ hours installing redmine I got success but still
can’t install redmine as service (windows 2003).

So here is my problem. I successfully installed redmine and mapped it
to mysql, created database and initialized it with default values.
Last thing I’m trying to do is to install it as service on windows
2003, and for this I’m running in cmd mode this instruction:

mongrel_rails service::install -N Redmine -c [your redmine folder] -p
[portno] -e production

and I get this error:
C:/ruby/lib/ruby/gems/1.8/gems/win32-service-0.7.0-x86-mswin32-60/lib/
win32/service.rb:282:in `initialize’: no options provided
(ArgumentError)

When I try without params:
mongrel_rails service::install
… it just says that name (-N) is obligatory.

But when I try with name only (-N), I get the same error.

Any help appreciated.
Thanks,
Anton

On Sat, Nov 21, 2009 at 7:20 PM, Anton A. [email protected]
wrote:

mongrel_rails service::install -N Redmine -c [your redmine folder] -p

But when I try with name only (-N), I get the same error.

Please uninstall win32-service 0.7.0

mongrel_service has been linked to an specific version of
win32-service due API changes.

gem install win32-service -v 0.5.2


Luis L.
AREA 17

Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

Hi Luis. Thanks for help, it worked with old version of win32-service.

Does this mean I’ll be not able to run both win32-service versions
together
to keep another ruby-applications working which requires win32-service
0.6+
?

Anton

On Sat, Nov 21, 2009 at 8:58 PM, Anton A. [email protected]
wrote:

Hi Luis. Thanks for help, it worked with old version of win32-service.
Does this mean I’ll be not able to run both win32-service versions together
to keep another ruby-applications working which requires win32-service 0.6+
?

mongrel_service uses “gem” method to lock to one specific version of
win32-service.

Seems is not working as expected, which could be due an old RubyGems
version.

Please update to latest RubyGems 1.3.5.

I don’t have too much time now to update mongrel_service, but if you
want make it API compatible with latest win32-service, I’ll happily
apply the patches and make a new release.

The repository is here:

http://github.com/fauna/mongrel_service

Luis L.
AREA 17

Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

Luis, thanks for your comments.

Unfortunately i’m not ror coder and i’m zero familiar with it, so i’m
not able to fix. I just needet it for redmine, and finally it worked.

Thanks for help!

Kind Regards,
Anton

2009/11/22, Luis L. [email protected]:

win32-service.
The repository is here:
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users


Надіслано з мого мобільного пристрою

Anton