Unitialized constant when no WIN32CONSOLE
Reported by h3rald (at h3rald) | February 28th, 2009 @ 11:57 AM | in 0.3.0
[Originally submitted on RubyForge (#21301) by: Cyril Mougel (shingara)]
When I use rawline 0.2.0 in a UNIX platforme, I have this error in requirement :
irb(main):001:0> require 'rawline'
NameError: uninitialized constant RawLine::Editor::WIN32CONSOLE
from /usr/lib/ruby/gems/1.8/gems/rawline-0.2.0/lib/rawline/editor.rb:612
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /usr/lib/ruby/gems/1.8/gems/rawline-0.2.0/lib/rawline.rb:30
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
from (irb):1
After read the code, this error exist because I am not in a win32 platform. A patch attach fix this issue
Comments and changes to this ticket
-
h3rald (at h3rald) February 28th, 2009 @ 11:59 AM
- Tag changed from typo to sev:3, type:bug
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RawLine is a 100% Ruby library able to provide some of the functionality offered by ReadLine, plus additional features such as a more intuitive way to bind characters to specific keys or key sequences.