On 11/05/2011 12:23 AM, Kaye Ng wrote:
> Ryan Davis wrote in post #1030259:
>
>> ruby -I. your_script.rb
> Thanks Ryan, but like I said, I would like to use just *require
> 'my_script'*
>
> =)

Not sure why the previous suggestions are not sufficient, but you can add

   $LOAD_PATH.unshift "."

prior to using 'require'

-Justin