# Using mongrel\_rails: Can't install Redmine as win2003 service

**URL:** <https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316>\
**Category:** Mongrel\
**Created:** [November 21, 2009, 11:26pm UTC](https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316 "2009-11-21T23:26:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [November 21, 2009, 11:26pm UTC](https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316/1 "2009-11-21T23:26:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [November 21, 2009, 11:57pm UTC](https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316/2 "2009-11-21T23:57:43Z")

</div>

On Sat, Nov 21, 2009 at 7:20 PM, Anton A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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

---

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [November 22, 2009, 1:12am UTC](https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316/3 "2009-11-22T01:12:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [November 22, 2009, 1:57am UTC](https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316/4 "2009-11-22T01:57:42Z")

</div>

On Sat, Nov 21, 2009 at 8:58 PM, Anton A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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](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

---

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [November 22, 2009, 2:29am UTC](https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316/5 "2009-11-22T02:29:18Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> win32-service.  
> The repository is here:  
> Mongrel-users mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [http://rubyforge.org/mailman/listinfo/mongrel-users](http://rubyforge.org/mailman/listinfo/mongrel-users)

–  
ÐÐ°Ð´Ñ–ÑÐ»Ð°Ð½Ð¾ Ð· Ð¼Ð¾Ð³Ð¾ Ð¼Ð¾Ð±Ñ–Ð»ÑŒÐ½Ð¾Ð³Ð¾ Ð¿Ñ€Ð¸ÑÑ‚Ñ€Ð¾ÑŽ

Anton
