From: Jari Williamsson Date: 2008-02-16T01:02:47+09:00 Subject: Re: Ruby on mac - requires don't work Max Williams wrote: > Hi - i'm trying to write a ruby program on my wife's mac (i use linux > normally). In irb i can require a gem fine, but when i write a little > program, save it on her desktop and run it, the require doesn't work - > it can't find it. > > I'm sure it's just some dumb thing i've not done or taken into account. > Do ruby scripts need to live somewhere in particular, for example? You probably are missing this line first: require 'rubygems' Best regards, Jari Williamsson