From: highlyjhi Date: 2007-05-24T11:22:21+09:00 Subject: Re: Getting a Ruby script to run on a colleague's Mac I had the same problem with the RSS. Since 10.4 comes with Ruby 1.8.2 (which doesn't have the RSS class) you'll need to update Ruby in order for your script to work. Why is that not an option for your colleague? On May 23, 2007, at 6:33 PM, Sharon wrote: > I wrote a Ruby script that's working fine on my own Windows machine at > work. I wanted to share it with a colleague who uses a Mac at the > office, but I can't get it to run. > > The script needs several libraries, including the rss library. > > On my Windows machine, the script says > > require 'rss' > > 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. If I use > > require '/usr/lib/ruby/1.8/rss/rss.rb' > > then the script finds that file but starts throwing other errors. > > I have included #! /usr/in/env ruby > > at the top of the script > > Installing Ruby on her machine, instead of using the already installed > version, isn't an option. > > Thanks for any help you can offer. I'm not really familiar with Mac OS > X. > > -- > Posted via http://www.ruby-forum.com/. >