Prev: DB to CSV
Next: [ANN] Money 2.3.0
From: Simbolla Simbolla on 16 Apr 2010 07:25 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/.
From: Simbolla Simbolla on 16 Apr 2010 07:46 Simbolla Simbolla wrote: > 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 Hi all, my probelm is reloved , Thanks Rajiv , i reffered one of thread which was related Win32 service related (Access denied error for win32 service). thanks Vinod -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: DB to CSV Next: [ANN] Money 2.3.0 |