S
Sharon
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.
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.