rio and ruby 1.9

M

meruby

This week I am trying to move my development from ruby 1.8 to ruby 1.9
(ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]). I have pass
through most of the hurdles, but one I can not fix is 'rio' library. I
am using it extensively in my code. I am having following issue when I
do "require 'rio'" in irb. Are there anybody who have fix this or can
point me what I need to do to fix this. Thanks.


/usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/base.rb:54: warning:
undefining `object_id' may cause serious problem
/usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/base.rb:54: warning:
undefining `__send__' may cause serious problem
NameError: uninitialized constant URI::REGEXP::pATTERN::pARAM
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/
file.rb:93:in `<module:pATTERN>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/
file.rb:88:in `<module:REGEXP>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/
file.rb:87:in `<module:URI>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/
file.rb:46:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/
base.rb:39:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/
base.rb:39:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/
builder.rb:39:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/
builder.rb:39:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/
factory.rb:45:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/
factory.rb:45:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:56:in
`require'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:56:in
`<class:Rio>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:53:in
`<module:RIO>'
from /usr/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:52:in
`<top (required)>'
from (irb):1:in `require'
from (irb):1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top