From: matt@... (matt neuburg) Date: 2007-05-25T13:10:04+09:00 Subject: Re: Getting a Ruby script to run on a colleague's Mac matt neuburg wrote: > Sharon Machlis wrote: > > > unknown wrote: > > > Sharon 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. > > I'm going to guess that the problem is that your friend has never > installed the Developer Tools (Xcode). m. I taking back my guess. I tried a clean system install and sure enough, require 'rss' doesn't work. Then I installed Ruby 1.8.6, and it worked fine. It's a pity you're not willing to update your friend's Ruby; it takes only a few minutes to do. m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Tiger - http://www.takecontrolbooks.com/tiger-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com