# No such file to load -- stringio (LoadError)?

**URL:** <https://www.ruby-forum.com/t/no-such-file-to-load-stringio-loaderror/64886>\
**Category:** Ruby\
**Created:** [August 15, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-stringio-loaderror/64886 "2006-08-15T14:20:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iceburgh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/c4cdca/32.png) [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Post date:** [August 15, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-stringio-loaderror/64886/1 "2006-08-15T14:20:02Z")

</div>

I recently installed Ruby 1.8.4 on Mac OS X 10.4.7, following  
the instructions in

[Dan Benjamin](http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger)

Although irb starts up and runs OK, I am unable to get ri to work  
(either within irb or as an external command).

It says:

> > ri Proc  
> > /Users/rdm/.irbrc:2: warning:  
> > Insecure world writable dir /Volumes,  
> > mode 04177/usr/local/lib/ruby/1.8/yaml.rb:9:in `require’:  
> > no such file to load – stringio (LoadError)  
> > from /usr/local/lib/ruby/1.8/yaml.rb:9  
> > from /usr/local/lib/ruby/1.8/rdoc/ri/ri\_descriptions.rb:1  
> > from /usr/local/lib/ruby/1.8/rdoc/ri/ri\_reader.rb:1  
> > from /usr/local/lib/ruby/1.8/rdoc/ri/ri\_driver.rb:5  
> > from /usr/local/bin/ri:43  
> > =\> false

Ignoring the /Volumes nastygram (Hey, it’s a mount point!), it  
appears that a require is failing. Hmmm…

> > $:  
> > =\> [“/usr/local/lib/ruby/site\_ruby/1.8”,  
> > “/usr/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8.7.0”,  
> > “/usr/local/lib/ruby/site\_ruby”,  
> > “/usr/local/lib/ruby/1.8”,  
> > “/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0”,  
> > “.”]

Looks pretty good; let’s see if the file is there and readable:

% cd /usr/local/lib/ruby

% du -a . | grep stringio.rb  
8 ./1.8/yaml/stringio.rb  
16 ./gems/1.8/gems/actionmailer-1.1.5/lib/action\_mailer/  
vendor/tmail/stringio.rb

% wc ./1.8/yaml/stringio.rb  
83 175 1969 ./1.8/yaml/stringio.rb

At this point, I’m tapped out. Suggestions, anyone?

## -r

[http://www.cfcl.com/rdm](http://www.cfcl.com/rdm) Rich M.  
[http://www.cfcl.com/rdm/resume](http://www.cfcl.com/rdm/resume) removed\_email\_address@domain.invalid  
[http://www.cfcl.com/rdm/weblog](http://www.cfcl.com/rdm/weblog) +1 650-873-7841

Technical editing and writing, programming, and web development
