Meglio
2009-Nov-21 20:18 UTC
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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.
Meglio
2009-Nov-21 22:26 UTC
Re: Using mongrel_rails: Can''t install Redmine as win2003 service
And here is detailed output: C:\ruby\apps\redmine>mongrel_rails service::install -N RedmineMeglio - c C:\ruby\apps\redmine -p 8666 -e meglio 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) from C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ mongrel_service/init.rb:115:in `new'' from C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ mongrel_service/init.rb:115:in `run'' from C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86- mswin32-60/bin/../lib/mongrel/command.rb:212:in `run'' from C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86- mswin32-60/bin/mongrel_rails:281 from C:/ruby/bin/mongrel_rails:19:in `load'' from C:/ruby/bin/mongrel_rails:19 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.
SA
2009-Nov-23 16:59 UTC
Re: Using mongrel_rails: Can''t install Redmine as win2003 service
I think I am seeing the same issue. See also versions of various gems. This used to work with the 0.3.4 version of the mongrel_service gem. Is there a fix or update for this. I want to avoid hacking line 115 / ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/mongrel_service/ init.rb if possible... Thanks E:\railsapps\rlms>mongrel_rails service::install -N mongrel_rlms1 -p 3001 -e production -c e:\railsapps\rlms mongrel_rails service::install -N mongrel_rlms1 -p 3001 -e production - c e:\railsapps\rlms e:/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) from e:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ mongrel_service/init.rb:115:in `new'' from e:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ mongrel_service/init.rb:115:in `run'' from e:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/ bin/../lib/mongrel/command.rb:212:in `run'' from e:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/ mongrel_rails:281 from e:/ruby/bin/mongrel_rails:19:in `load'' from e:/ruby/bin/mongrel_rails:19 E:\railsapps\rlms>gem list mongrel gem list mongrel mongrel (1.1.5) mongrel_service (0.1) E:\railsapps\rlms>gem list win32-service gem list win32-service win32-service (0.7.0) E:\railsapps\rlms>gem list rails gem list rails rails (2.1.1) On Nov 21, 5:26 pm, Meglio <x.meg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> And here is detailed output: > > C:\ruby\apps\redmine>mongrel_rails service::install -N RedmineMeglio - > c C:\ruby\apps\redmine -p 8666 -e meglio > 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) > from C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ > mongrel_service/init.rb:115:in `new'' > from C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ > mongrel_service/init.rb:115:in `run'' > from C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86- > mswin32-60/bin/../lib/mongrel/command.rb:212:in `run'' > from C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86- > mswin32-60/bin/mongrel_rails:281 > from C:/ruby/bin/mongrel_rails:19:in `load'' > from C:/ruby/bin/mongrel_rails:19-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.
SA
2009-Nov-23 19:24 UTC
Re: Using mongrel_rails: Can''t install Redmine as win2003 service
FWIW: I just discovered that if I uninstall the 0.7.0 version of the win232-service gem and install this one instead: gem install -v=0.5.2 win32-service I can now install mongrel services w/o error. On Nov 23, 11:59 am, SA <shota.aki....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I think I am seeing the same issue. See also versions of various gems. > This used to work with the 0.3.4 version of the mongrel_service gem. > Is there a fix or update for this. I want to avoid hacking line 115 / > ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/mongrel_service/ > init.rb if possible... > > Thanks > > E:\railsapps\rlms>mongrel_rails service::install -N mongrel_rlms1 -p > 3001 -e production -c e:\railsapps\rlms > mongrel_rails service::install -N mongrel_rlms1 -p 3001 -e production - > c e:\railsapps\rlms > e:/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) > from e:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ > mongrel_service/init.rb:115:in `new'' > from e:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ > mongrel_service/init.rb:115:in `run'' > from e:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/ > bin/../lib/mongrel/command.rb:212:in `run'' > from e:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/ > mongrel_rails:281 > from e:/ruby/bin/mongrel_rails:19:in `load'' > from e:/ruby/bin/mongrel_rails:19 > > E:\railsapps\rlms>gem list mongrel > gem list mongrel > mongrel (1.1.5) > mongrel_service (0.1) > > E:\railsapps\rlms>gem list win32-service > gem list win32-service > win32-service (0.7.0) > > E:\railsapps\rlms>gem list rails > gem list rails > rails (2.1.1) > > On Nov 21, 5:26 pm, Meglio <x.meg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > And here is detailed output: > > > C:\ruby\apps\redmine>mongrel_rails service::install -N RedmineMeglio - > > c C:\ruby\apps\redmine -p 8666 -e meglio > > 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) > > from C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ > > mongrel_service/init.rb:115:in `new'' > > from C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/ > > mongrel_service/init.rb:115:in `run'' > > from C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86- > > mswin32-60/bin/../lib/mongrel/command.rb:212:in `run'' > > from C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86- > > mswin32-60/bin/mongrel_rails:281 > > from C:/ruby/bin/mongrel_rails:19:in `load'' > > from C:/ruby/bin/mongrel_rails:19- Hide quoted text - > > - Show quoted text --- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.
Seemingly Similar Threads
- Mongrel service keeps re-starting ruby
- mongrel_rails service on windows incompatible with recent ruby builds?
- Mongrel service will not start on win32 w/ --prefix option
- Problem with mongrel_rails, but works with script/server
- offline/local install of mongrel_service