W
Wybo Dekker
Since moving to ruby-1.9.1-p243, when I try to install the rio gem, I get:
$ sudo gem install -r rio
Successfully installed rio-0.4.2
1 gem installed
Installing ri documentation for rio-0.4.2...
Updating class cache with 2676 classes...
Installing RDoc documentation for rio-0.4.2...
ERROR: While executing gem ... (NameError)
uninitialized constant Generators::SM
$ ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]
$
It's not only a documentation problem: when I run this:
#!/usr/bin/env ruby
require 'rubygems'
require 'rio'
puts 'done'
I get (from the require 'rio', fatally):
/usr/local/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/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/base.rb:54: warning:
undefining `__send__' may cause serious problem
/usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/file.rb:93:in
`<moduleATTERN>': uninitialized constant URI::REGEXP:ATTERN:ARAM (NameError)
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/file.rb:88:in
`<module:REGEXP>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/file.rb:87:in
`<module:URI>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/file.rb:46:in
`<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/base.rb:39:in
`require'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/base.rb:39:in
`<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/builder.rb:39:in
`require'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/builder.rb:39:in
`<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/factory.rb:45:in
`require'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/factory.rb:45:in
`<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:56:in `require'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:56:in `<class:Rio>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:53:in `<module:RIO>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:52:in `<top
(required)>'
from t:3:in `require'
from t:3:in `<main>'
$ sudo gem install -r rio
Successfully installed rio-0.4.2
1 gem installed
Installing ri documentation for rio-0.4.2...
Updating class cache with 2676 classes...
Installing RDoc documentation for rio-0.4.2...
ERROR: While executing gem ... (NameError)
uninitialized constant Generators::SM
$ ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]
$
It's not only a documentation problem: when I run this:
#!/usr/bin/env ruby
require 'rubygems'
require 'rio'
puts 'done'
I get (from the require 'rio', fatally):
/usr/local/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/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/base.rb:54: warning:
undefining `__send__' may cause serious problem
/usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/file.rb:93:in
`<moduleATTERN>': uninitialized constant URI::REGEXP:ATTERN:ARAM (NameError)
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/file.rb:88:in
`<module:REGEXP>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/file.rb:87:in
`<module:URI>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/uri/file.rb:46:in
`<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/base.rb:39:in
`require'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/base.rb:39:in
`<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/builder.rb:39:in
`require'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/rl/builder.rb:39:in
`<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/factory.rb:45:in
`require'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio/factory.rb:45:in
`<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:56:in `require'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:56:in `<class:Rio>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:53:in `<module:RIO>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rio-0.4.2/lib/rio.rb:52:in `<top
(required)>'
from t:3:in `require'
from t:3:in `<main>'