Sharon Machlis wrote: > unknown wrote: >> Sharon <sharon_machlis / computerworld.com> wrote: >> >>> and that works fine. I found the location of Ruby files on her machine, >>> but >>> >>> require '/usr/lib/ruby/1.8/rss' >>> >>> gives me an error that there's no such file. >> >> Why are you not saying simply require 'rss' just as in Windows? That >> works fine on my Mac; require '/usr/lib/ruby/1.8/rss' does not. m. > > Thanks for letting me know how it works on your Mac. I changed to the > full path because when I tried > > require 'rss' > > I got an error message saying there was no file with that name. And > changing to the full path made that error message go away, so I was > guessing that perhaps the full path was needed. > > Based on the previous message, it sounds like I'll need to see if I can > update Ruby on my colleague's Mac. > > Thanks for all the suggestions. I'll investigate further. Otherwise, I'm > afraid I'm going to have to rewrite the script in Perl (which I'm a lot > more familiar with) and then put it on an internal server (as far as I > know, I don't have access to a server here that has Ruby). The point of > this whole exercise was to start learning Ruby. At least I got the > script working on my own system! a couple of things sharon.... 1.) what ruby version do you have and your mac friend have (are they different) 3.) $LOAD_PATH inside of IRb 4.) ENV chk inside of IRB 5.) do a LS of the MAC and check the acl of the RSS library inside a cmd prompt -- Posted via http://www.ruby-forum.com/.