1.Requirement: Read the latest lines of the Windows Application Event
Viewer to verify deployment status executions.
2. Environment: Ruby 1.9.1 On Windows
win32-eventlog (0.5.2)
windows-api (0.4.0)
windows-pr (1.1.3)
3. Problem: On Ruby 1.8.7 my scripts using win32 evenlog api works fine
but on ruby 1.9.1 they don’t. I know the String management has changed
on Ruby 1.9.1 and above.
Exception Details.
C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:in []': invalid byte sequence in US-ASCII (ArgumentError) from C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:innstrip’
from
C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:613:in read' from bw_logutil.rb:49:inread_event_log’
from bw_logutil.rb:97:in block in <main>' from bw_logutil.rb:96:ineach’
from bw_logutil.rb:96:in `’
Problem: On Ruby 1.8.7 my scripts using win32 evenlog api works fine
but on ruby 1.9.1 they don’t. I know the String management has changed
on Ruby 1.9.1 and above.
Please try Ruby 1.9.2-p136.
Also, report the issue back to win32utils developers:
Problem: On Ruby 1.8.7 my scripts using win32 evenlog api works fine
but on ruby 1.9.1 they don’t. I know the String management has changed
on Ruby 1.9.1 and above.
Please try Ruby 1.9.2-p136.
Also, report the issue back to win32utils developers:
Problem: On Ruby 1.8.7 my scripts using win32 evenlog api works fine
but on ruby 1.9.1 they don’t. I know the String management has changed
on Ruby 1.9.1 and above.
Please try Ruby 1.9.2-p136.
Also, report the issue back to win32utils developers:
I tried the new version Ruby 1.9.2, installing the win32-eventlog gem
but the same result.
C:/Ruby192/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:in []': invalid byte sequence in US-ASCII (ArgumentError) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:innstrip’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:613:in read' from bw_logutil.rb:50:inread_event_log’
from bw_logutil.rb:98:in block in <main>' from bw_logutil.rb:97:ineach’
from bw_logutil.rb:97:in `’
Problem: On Ruby 1.8.7 my scripts using win32 evenlog api works fine
but on ruby 1.9.1 they don’t. I know the String management has changed
on Ruby 1.9.1 and above.
Please try Ruby 1.9.2-p136.
Also, report the issue back to win32utils developers: