# /usr/local/bin

**URL:** <https://www.ruby-forum.com/t/usr-local-bin/178257>\
**Category:** Rails\
**Created:** [November 1, 2009, 6:00am UTC](https://www.ruby-forum.com/t/usr-local-bin/178257 "2009-11-01T06:00:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduardopa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ee7513/32.png) [@eduardopa](https://www.ruby-forum.com/u/eduardopa)\
**Post date:** [November 1, 2009, 6:00am UTC](https://www.ruby-forum.com/t/usr-local-bin/178257/1 "2009-11-01T06:00:47Z")

</div>

Hi,

I am following the hivelogic article to compile ruby on snow leopard.

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Dan Benjamin's personal website.

It says to set the path of the terminal to:  
export PATH=“/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:  
$PATH”

Until this part is fine. The problem is that when I continue creating  
the folder:  
mkdir ~/src

it creates the folder in my personal folder instead of /usr/local/bin

What I am doing wrong?

---

<div class="post-metadata">

**Author:** ![eduardopa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ee7513/32.png) [@eduardopa](https://www.ruby-forum.com/u/eduardopa)\
**Post date:** [November 1, 2009, 6:22am UTC](https://www.ruby-forum.com/t/usr-local-bin/178257/2 "2009-11-01T06:22:27Z")

</div>

On Sat, Oct 31, 2009 at 9:59 PM, eduardopa [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Until this part is fine. The problem is that when I continue creating  
> the folder:  
> mkdir ~/src
> 
> it creates the folder in my personal folder instead of /usr/local/bin

The ~ character represents your home directory, so that’s exactly  
what you’re asking for.

> What I am doing wrong?

Why do you think there’s something wrong?

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![eduardopa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ee7513/32.png) [@eduardopa](https://www.ruby-forum.com/u/eduardopa)\
**Post date:** [November 1, 2009, 9:19am UTC](https://www.ruby-forum.com/t/usr-local-bin/178257/3 "2009-11-01T09:19:21Z")

</div>

eduardopa wrote:

> Hi,
> 
> I am following the hivelogic article to compile ruby on snow leopard.  
> [Dan Benjamin](http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/)

Do you have a particular reason for wanting to do it this way? If not,  
then forget about Hivelogic and use Apple’s Ruby.

## Best,

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