Displaying 2 results from an estimated 2 matches for "webricksvc".
Did you mean:
webricks
2005 Dec 10
1
win32 service
Hi Ernest,
I''m cc''ing the win32utils-devel mailing list in case
anyone has any ideas.
--- Ernest Ellingson <erne at powernav.com> wrote:
> Daniel Berger wrote:
>
> >Hi Ernest,
> >
> >Me again. I just realized that it''s just a bug in
> my
> >documentation (duh). You can pass arguments to the
> >Service.start method.
2005 May 14
4
Problems with custom service and webrick
...\webrick_daemon.rb ''
prog += "-p #{port} -r #{root} -m #{home}"
full_path = path + prog
unless File.exists?(home + ''\webrick_daemon.rb'')
STDERR.puts "Error: webrick_daemon.rb not found in
#{home}. Exiting..."
exit!
end
service_name = ''WebrickSvc''
display_name = ''Webrick''
# Install the service
if OPTIONS[:install]
svc = Service.new
svc.create_service{ |s|
s.service_name = service_name
s.display_name = display_name
s.binary_path_name = ''c:\ruby\bin\ruby
c:\progra~1\rubyse...