Hi,
I’m trying to start a Mongrel (1.1.3) Server, running as a Windows
Service, via
mongrel_rails service::install -N FDS_Server_4001 -p 4001 -e production
But I get the following error message :
ERROR RUNNING ‘service::install’: Plugin /service::install does not
exist in category /commands
I never had this problem before (Win XP, Vista), until I tried
installing on a Win 2003 Server ; I don’t know if it’s related…
Does anyone know what causes this? A search in Google for this error
message yields nothing…
Chris.
On Jan 24, 2008 7:07 AM, Chris Gers32 [email protected] wrote:
exist in category /commands
I never had this problem before (Win XP, Vista), until I tried
installing on a Win 2003 Server ; I don’t know if it’s related…
Does anyone know what causes this? A search in Google for this error
message yields nothing…
What version of mongrel_service are you installing?
if you do just “mongrel_rails” only, you will see the list of
available commands, I bet you will have a “windows::service::install”
set of commands instead of just “service::install”
This was due some changes in the win32-service gem introduced in 0.6.x
series.
This issue was fixed in latest (0.3.4) release of mongrel_service.
gem install mongrel_service -v ‘0.3.4’
HTH,
Luis L.
Multimedia systems
A common mistake that people make when trying to design
something completely foolproof is to underestimate
the ingenuity of complete fools.
Douglas Adams
Luis L. wrote:
This issue was fixed in latest (0.3.4) release of mongrel_service.
gem install mongrel_service -v ‘0.3.4’
You’re right: I upgraded mongrel_service and now see the
service::install command. Unfortunately, I got a new error message when
I tried creating the Mongrel Service:
C:\web\FDS_Server>mongrel_rails service::install -N FDS_Server_4001 -p
4001 -e production
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:379:in
`report_activate_error’: Could not find RubyGem win32-service (>= 0.5.2,
< 0.6.0) (Gem::LoadError)
Finally, installing win32-service 0.5.2 did the trick… But the current
version is 0.6.1 ; will mongrel_service be compatible with it in the
future?
Thanks for your help, once again,
Chris.
On Jan 24, 2008 1:24 PM, Chris Gers32 [email protected] wrote:
4001 -e production
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:379:in
`report_activate_error’: Could not find RubyGem win32-service (>= 0.5.2,
< 0.6.0) (Gem::LoadError)
Finally, installing win32-service 0.5.2 did the trick… But the current
version is 0.6.1 ; will mongrel_service be compatible with it in the
future?
mongrel_service only use win32-service to register/unregister the
service.
Is not possible maintain compatibility with both releases 0.5.x or
0.6.x due some API changes.
The dependency on win32-service is planned to be removed completely.
–
Luis L.
Multimedia systems
A common mistake that people make when trying to design
something completely foolproof is to underestimate
the ingenuity of complete fools.
Douglas Adams