From: Josh Cheek on
[Note: parts of this message were removed to make it a legal post.]

On Sun, May 30, 2010 at 12:01 PM, Emma Pidre <equisigriegazeta(a)gmail.com>wrote:

> Hi, trhans for the answer. This is not working. I saw that already had
> the first line of code in the example i trying to run : "#!/usr/bin/env
> ruby".
>
> The error is the same:
> "ruby: No such file or directory -- ./code.rb (LoadError)"
>
> The person who sold me the Macbook, said to me that he made some
> troubles with ruby. I don't know what is wrong, maybe is a configuration
> troubles or something like that. i can use directly from textMate, but i
> want to resolve the problem form Terminal, to be more sure that all work
> fine.
>
> there is a way for restart ruby, i mean, unistall o delete all files or
> something like that for make a re-install later ? What did you advise
> me?
>
> Thanks for all ! :) im very happy to find i place where find help.
> --
> Posted via http://www.ruby-forum.com/.
>
>
Please follow the instructions above, exactly, and let us know whether the
hello world example works. (ie if it did not work, it should not have said
anything about code.rb)

From: Josh Cheek on
[Note: parts of this message were removed to make it a legal post.]

On Sun, May 30, 2010 at 2:53 PM, Josh Cheek <josh.cheek(a)gmail.com> wrote:

> On Sun, May 30, 2010 at 12:01 PM, Emma Pidre <equisigriegazeta(a)gmail.com>wrote:
>
>> Hi, trhans for the answer. This is not working. I saw that already had
>> the first line of code in the example i trying to run : "#!/usr/bin/env
>> ruby".
>>
>> The error is the same:
>> "ruby: No such file or directory -- ./code.rb (LoadError)"
>>
>> The person who sold me the Macbook, said to me that he made some
>> troubles with ruby. I don't know what is wrong, maybe is a configuration
>> troubles or something like that. i can use directly from textMate, but i
>> want to resolve the problem form Terminal, to be more sure that all work
>> fine.
>>
>> there is a way for restart ruby, i mean, unistall o delete all files or
>> something like that for make a re-install later ? What did you advise
>> me?
>>
>> Thanks for all ! :) im very happy to find i place where find help.
>> --
>> Posted via http://www.ruby-forum.com/.
>>
>>
> Please follow the instructions above, exactly, and let us know whether the
> hello world example works. (ie if it did not work, it should not have said
> anything about code.rb)
>


If you are having difficulty following it, this is what it looks like on my
cmputer:
http://img404.imageshack.us/i/screenshot20100530at254.png/