Hi all,

Below is my code.

require 'rubygems'
require 'win32/service'
include Win32
puts 'Currently Running Services:'
Service.services do |svc|
if svc.current_state == 'running'
puts "#{svc.service_name}\t-\t#{svc.display_name}"
end
end

for this i got "No such file to load --win32/service" How to correct
this program.my OS is XP. Ruby 1.8.6 version.

Thanks
Vinod
-- 
Posted via http://www.ruby-forum.com/.