noreply@rubyforge.org
2005-Oct-12 14:23 UTC
[Win32utils-devel] [ win32utils-Support Requests-2614 ] warning: redefining constant Struct::Win32ServiceStatus
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
noreply@rubyforge.org
2005-Oct-15 01:03 UTC
[Win32utils-devel] [ win32utils-Support Requests-2614 ] warning: redefining constant Struct::Win32ServiceStatus
Support Requests item #2614, was opened at 2005-10-12 07: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: Closed >Resolution: Out of Date >Priority: 1Submitted By: Scott Harper (sharperct)>Assigned to: Daniel Berger (djberg96)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 ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2005-10-14 18:03 Message: This was fixed in win32/service 0.4.5: irb(main):009:0> ["Alerter", "ClipSrv"].each{ |s| p Service.status(s).current_state } "stopped" "stopped" => ["Alerter", "ClipSrv"] Regards, Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85
Maybe Matching Threads
- [ win32utils-Support Requests-4264 ] win32 process
- [ win32utils-Bugs-4699 ] Service dependencies are not being created properly
- Fwd: win32-service of win32utils
- [ win32utils-Support Requests-12080 ] How would one add these packages as a dependency to a cross-platform gem?
- [ win32utils-Support Requests-8957 ] Killing grandchildren?