search for: rubyservices

Displaying 1 result from an estimated 1 matches for "rubyservices".

Did you mean: pubservices
2005 May 14
4
Problems with custom service and webrick
...DERR.puts "Must specify start, stop, delete or install" exit! end path = OPTIONS[:path] || ''C:\ruby\bin\ruby '' port = OPTIONS[:port] || 8080 root = OPTIONS[:docroot] || ''C:\www\webroot'' home = OPTIONS[:home] || ''C:\Progra~1\RubyServices\Webrick'' prog = home + ''\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...&q...