From: Wybo Dekker Date: 2005-09-09T21:39:18+09:00 Subject: Re: Rio 0.3.4 --Boundary_(ID_v/Y3xKsxTjapmauGvYCETg) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Lloyd Zusman wrote: > Prior to this, I had earlier problems with gems, and so I completely > uninstalled ruby (I had been using the 1.9.x version from cvs), and I > re-installed it from the official 1.8.2 version, totally from scratch with > none of my old libraries, scripts, or gems present on my system. It > was only then that I installed "gem", and then "rio". I, too, have the problem and had ruby-1.9 before. My test program: #!/usr/bin/env ruby require 'rio' $VERBOSE = true rio('/etc/passwd') > rio('/tmp/passwd') This worked fine with rio-0.3.3 but fails with 0.3.4. I have attached the output, for what it's worth. wybo>ruby -v ruby 1.8.2 (2004-12-25) [i686-linux] wybo>gem -v 0.8.11 -- Wybo --Boundary_(ID_v/Y3xKsxTjapmauGvYCETg) Content-type: text/plain; name=riotestoutput Content-transfer-encoding: 7BIT Content-disposition: inline; filename=riotestoutput wybo>gem list rio *** LOCAL GEMS *** rio (0.3.4, 0.3.3) Rio - Ruby I/O Comfort Class wybo>ls /tmp wybo>cat riotest #!/usr/bin/env ruby require 'rio' $VERBOSE = true rio('/etc/passwd') > rio('/tmp/passwd') wybo>riotest /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/cp.rb:190: warning: useless use of < in void context /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/cp.rb:290: warning: useless use of > in void context /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/ops/file.rb:62: uninitialized constant RIO::Ops::FileOrDir::ExistOrNot (NameError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/file.rb:39 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/factory.rb:197:in `state2class' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/factory.rb:206:in `try_state_proc' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/factory.rb:204:in `[]' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/state.rb:120:in `become' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/path.rb:80:in `efile' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/path.rb:65:in `when_missing' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/state.rb:134:in `method_missing' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/state.rb:136:in `__send__' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/state.rb:136:in `method_missing' from /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.4/lib/rio/if/grande.rb:402:in `>' from ./riotest:6 wybo>ls /tmp wybo>sudo gem uninstall rio -v 0.3.4 Attempting to uninstall gem 'rio' Successfully uninstalled rio version 0.3.4 wybo>riotest /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.3/lib/rio/cp.rb:181: warning: useless use of < in void context /usr/local/lib/ruby/gems/1.8/gems/rio-0.3.3/lib/rio/cp.rb:273: warning: useless use of > in void context wybo>ls /tmp passwd wybo> --Boundary_(ID_v/Y3xKsxTjapmauGvYCETg)--