problem with rio-0.3.4

W

Wybo Dekker

Running this script (named riotest) with rio-0.3.3:

require 'rubygems'
require 'rio'
puts rio('riotest').readlines

correctly says:

wybo>ruby riotest
require 'rubygems'
require 'rio'
puts rio('riotest').readlines

But with rio-0.3.4 I get:

wybo>ruby riotest
.../gems/1.8/gems/rio-0.3.4/lib/rio/ops/file.rb:62:
uninitialized constant rio::eek:ps::fileordir::existornot (nameerror)
from ... /site_ruby/1.8/rubygems/custom_require.rb:21:
in `require'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/file.rb:39
from ... /site_ruby/1.8/rubygems/custom_require.rb:21:
in `require'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/factory.rb:197:
in `state2class'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/factory.rb:206:
in `try_state_proc'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/state.rb:120:
in `become'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/path.rb:80:
in `efile'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/path.rb:65:
in `when_missing'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/state.rb:134:
in `method_missing'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/state.rb:136:
in `method_missing'
from ... /gems/1.8/gems/rio-0.3.4/lib/rio/if/stream.rb:188:
in `readlines'
from riotest:3
wybo>
(I tweaked the output a little for clarity)

Any ideas?
 

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,769
Messages
2,569,582
Members
45,060
Latest member
BuyKetozenseACV

Latest Threads

Top