[Win32utils-devel] [ win32utils-Support Requests-2614 ] warning: redefining constant Struct::Win32ServiceStatus

noreply@rubyforge.org noreply at rubyforge.org
Wed Oct 12 10:23:29 EDT 2005


Support Requests item #2614, was opened at 2005-10-12 10:23
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85

Category: win32-service
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Scott Harper (sharperct)
Assigned to: Nobody (None)
Summary: warning: redefining constant Struct::Win32ServiceStatus

Initial Comment:
Can these redefining constant warnings be suppressed?

irb(main):001:0> require "win32/service"
=> true
irb(main):002:0> ['Alerter','Apache2'].each { |s| puts Win32::Service.status(s).current_state }
stopped
(irb):2: warning: redefining constant Struct::Win32ServiceStatus
running

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85


More information about the win32utils-devel mailing list