# Problems with RoR on Leopard

**URL:** <https://www.ruby-forum.com/t/problems-with-ror-on-leopard/179486>\
**Category:** Rails\
**Created:** [November 26, 2009, 4:16am UTC](https://www.ruby-forum.com/t/problems-with-ror-on-leopard/179486 "2009-11-26T04:16:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hopkinslax12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/eb9ed0/32.png) [@hopkinslax12](https://www.ruby-forum.com/u/hopkinslax12)\
**Post date:** [November 26, 2009, 4:16am UTC](https://www.ruby-forum.com/t/problems-with-ror-on-leopard/179486/1 "2009-11-26T04:16:45Z")

</div>

hi guys–im also a newbie to RoR and programming in general so i  
apologize in advance for the elementary questions im about to ask…but  
i went to hive logic and began his tutorial. but i hit 2 snags–i’ve  
emailed him and haven’t received a response that works for me. so if you  
would be so kind, my issues are below:

1. when i get to the stage that he says enter “mate ~/.profile”

when i entered “Mate ~/.profile”  
i get a message from terminal that says “command not found” im not using  
textmate im actually using textwrangler and when i substitute wrangler  
or textwrangler or any permutation of that for “mate” in the code i get  
the same error. however after following the other steps and going back  
for the “which ruby” check i get this file path:  
/usr/bin/ruby  
which is close but not exact to what they say i should have in the  
tutorial

2)when i got to install rails i get an HTTP error code of 403 which i  
looked up and it says that code refers to “forbidden” request and i  
thought ruby and rails was an open source program and should be able to  
be installed by anybody

HELP! please

---

<div class="post-metadata">

**Author:** ![hopkinslax12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/eb9ed0/32.png) [@hopkinslax12](https://www.ruby-forum.com/u/hopkinslax12)\
**Post date:** [November 26, 2009, 5:51am UTC](https://www.ruby-forum.com/t/problems-with-ror-on-leopard/179486/2 "2009-11-26T05:51:15Z")

</div>

Pat Jones wrote:

> hi guys–im also a newbie to RoR and programming in general so i  
> apologize in advance for the elementary questions im about to ask…but  
> i went to hive logic and began his tutorial.

I hope you didn’t follow their advice to build Ruby from source. That’s  
a waste of time on Leopard.

> but i hit 2 snags–i’ve  
> emailed him and haven’t received a response that works for me. so if you  
> would be so kind, my issues are below:
> 
> 1. when i get to the stage that he says enter “mate ~/.profile”
> 
> when i entered “Mate ~/.profile”  
> i get a message from terminal that says “command not found” im not using  
> textmate

Then why would you expect “mate” to work?

> im actually using textwrangler and when i substitute wrangler  
> or textwrangler or any permutation of that for “mate” in the code i get  
> the same error.

I think TextWrangler’s shell command is “edit”, but you’ll have to check  
the docs to be sure.

Anyway, it doesn’t really matter whether you use the command line or the  
GUI to open your source files for editing.

> however after following the other steps and going back  
> for the “which ruby” check i get this file path:  
> /usr/bin/ruby  
> which is close but not exact to what they say i should have in the  
> tutorial

Their tutorials assume you’ve installed a second copy of Ruby – which  
is stupid. I think the copy in /usr/bin/ruby is the one that came with  
Leopard, which should be fine. Just to be sure, though, what’s the  
output of  
ls -l /usr/bin/ruby  
?

> 2)when i got to install rails i get an HTTP error code of 403 which i  
> looked up and it says that code refers to “forbidden” request and i  
> thought ruby and rails was an open source program and should be able to  
> be installed by anybody

_sigh_ That doesn’t mean you’re not allowed to install Rails. It means  
the server thinks you’re asking for something it doesn’t want to give  
you. What was the exact command or operation that gave you the error  
403?

> HELP! please

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![hopkinslax12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/eb9ed0/32.png) [@hopkinslax12](https://www.ruby-forum.com/u/hopkinslax12)\
**Post date:** [November 26, 2009, 6:58pm UTC](https://www.ruby-forum.com/t/problems-with-ror-on-leopard/179486/3 "2009-11-26T18:58:12Z")

</div>

> I think TextWrangler’s shell command is “edit”, but you’ll have to check  
> the docs to be sure.

what docs? how do i check that?

> Their tutorials assume you’ve installed a second copy of Ruby – which  
> is stupid. I think the copy in /usr/bin/ruby is the one that came with  
> Leopard, which should be fine. Just to be sure, though, what’s the  
> output of  
> ls -l /usr/bin/ruby  
> ?  
> the output is the same “/usr/bin/ruby”
> 
> >

> _sigh_ That doesn’t mean you’re not allowed to install Rails. It means  
> the server thinks you’re asking for something it doesn’t want to give  
> you. What was the exact command or operation that gave you the error  
> 403?
> 
> >

```
the exact command is any of the following:

```

sudo gem install rails  
sudo gem install mongrel  
sudo gem install capistrano

thank you! Marnen

---

<div class="post-metadata">

**Author:** ![hopkinslax12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/eb9ed0/32.png) [@hopkinslax12](https://www.ruby-forum.com/u/hopkinslax12)\
**Post date:** [November 26, 2009, 7:00pm UTC](https://www.ruby-forum.com/t/problems-with-ror-on-leopard/179486/4 "2009-11-26T19:00:49Z")

</div>

i tried “edit” that is infact the shell code. how do i determine a  
program’s shell code for the future? thanks again!!!

any idea on the forbidden problem?

---

<div class="post-metadata">

**Author:** ![hopkinslax12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/eb9ed0/32.png) [@hopkinslax12](https://www.ruby-forum.com/u/hopkinslax12)\
**Post date:** [November 26, 2009, 10:04pm UTC](https://www.ruby-forum.com/t/problems-with-ror-on-leopard/179486/5 "2009-11-26T22:04:12Z")

</div>

Pat Jones wrote:

> > I think TextWrangler’s shell command is “edit”, but you’ll have to check  
> > the docs to be sure.
> 
> what docs? how do i check that?

TextWrangler comes with a PDF manual.

BTW, you might also want to check out KomodoEdit.

> > Their tutorials assume you’ve installed a second copy of Ruby – which  
> > is stupid. I think the copy in /usr/bin/ruby is the one that came with  
> > Leopard, which should be fine. Just to be sure, though, what’s the  
> > output of  
> > ls -l /usr/bin/ruby  
> > ?  
> > the output is the same “/usr/bin/ruby”

Then you didn’t type the command I gave you. Please do what I asked and  
copy and paste the _entire_ output from that command.

> > >
> 
> > _sigh_ That doesn’t mean you’re not allowed to install Rails. It means  
> > the server thinks you’re asking for something it doesn’t want to give  
> > you. What was the exact command or operation that gave you the error  
> > 403?
> > 
> > >
> 
> ```
> the exact command is any of the following:
> 
> ```
> 
> sudo gem install rails  
> sudo gem install mongrel  
> sudo gem install capistrano

Are you behind a proxy? What’s the output of “gem env”?

> thank you! Marnen

You’re welcome.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
