Anton Andriyevskyy
2009-Nov-21 22:20 UTC
[Mongrel] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/mongrel-users/attachments/20091122/520f0ef9/attachment.html>
Luis Lavena
2009-Nov-21 22:47 UTC
[Mongrel] Using mongrel_rails: Can''t install Redmine as win2003 service
On Sat, Nov 21, 2009 at 7:20 PM, Anton Andriyevskyy <x.meglio at gmail.com> wrote:> 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. >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 Lavena 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
Anton Andriyevskyy
2009-Nov-21 23:58 UTC
[Mongrel] Using mongrel_rails: Can''t install Redmine as win2003 service
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 Sun, Nov 22, 2009 at 12:47 AM, Luis Lavena <luislavena at gmail.com> wrote:> On Sat, Nov 21, 2009 at 7:20 PM, Anton Andriyevskyy <x.meglio at gmail.com> > wrote: > > 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. > > > > 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 Lavena > 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 > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/mongrel-users/attachments/20091122/73326aee/attachment.html>
Luis Lavena
2009-Nov-22 00:55 UTC
[Mongrel] Using mongrel_rails: Can''t install Redmine as win2003 service
On Sat, Nov 21, 2009 at 8:58 PM, Anton Andriyevskyy <x.meglio at gmail.com> 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 Lavena 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
Anton Andriyevskyy
2009-Nov-22 01:09 UTC
[Mongrel] Using mongrel_rails: Can''t install Redmine as win2003 service
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 Lavena <luislavena at gmail.com>:> On Sat, Nov 21, 2009 at 8:58 PM, Anton Andriyevskyy <x.meglio at gmail.com> > 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 Lavena > 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 > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-- ????????? ? ???? ?????????? ???????? Anton