Cheyne Li wrote:

> No, I reinstalled the lib by keying command line gem install 
> win32-service-0.6.1-x86-mswin32-60.gem. It was sucessfully installed.
> 
> I checked the lib path, it is 
> "C:\ruby\lib\ruby\gems\1.8\gems\win32-service-0.6.1-x86-mswin32-60\lib\win32"...

This will work
  require 'win32/service'

Basically, you have
  'lib\win32\service.rb'
  'lib\win32\daemon.so'

so you can use
  require 'win32/service'
  require 'win32/daemon'
-- 
Posted via http://www.ruby-forum.com/.