I'm trying to add a application as a service in Windows XP Pro
I'm using the following code grabbed from KirbyBase:
svc = Service.new("localhost")
svc.create_service do |s|
s.service_name = "TBWin32ReportingAgt"
s.binary_path_name = 'C:\\TBWin32\\TB Reporting
s.display_name = "TBWin32 Reporting Agt"
# This is required for now - bug in win32-service
s.dependencies = 
puts "TBWin32 Server service installed"
When I run this I get the following:
ice.rb:277:in `initialize': no options provided (ArgumentError)
from s.rb:6:in `new'