# I have installed Ruby-186-26, why is there no usr/local/bin/ruby directory?

**URL:** <https://www.ruby-forum.com/t/i-have-installed-ruby-186-26-why-is-there-no-usr-local-bin-ruby-directory/136275>\
**Category:** Ruby\
**Created:** [April 30, 2008, 9:50am UTC](https://www.ruby-forum.com/t/i-have-installed-ruby-186-26-why-is-there-no-usr-local-bin-ruby-directory/136275 "2008-04-30T09:50:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenxian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@tenxian](https://www.ruby-forum.com/u/tenxian)\
**Post date:** [April 30, 2008, 9:50am UTC](https://www.ruby-forum.com/t/i-have-installed-ruby-186-26-why-is-there-no-usr-local-bin-ruby-directory/136275/1 "2008-04-30T09:50:24Z")

</div>

When I installed it, I just changed the path to e:\ruby. I often meet  
No such file or directory errors. Any idea?

---

<div class="post-metadata">

**Author:** ![tenxian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@tenxian](https://www.ruby-forum.com/u/tenxian)\
**Post date:** [April 30, 2008, 10:03am UTC](https://www.ruby-forum.com/t/i-have-installed-ruby-186-26-why-is-there-no-usr-local-bin-ruby-directory/136275/2 "2008-04-30T10:03:22Z")

</div>

On Wed, Apr 30, 2008 at 9:50 AM, tenxian [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> When I installed it, I just changed the path to e:\ruby. I often meet  
> No such file or directory errors. Any idea?

It seems that you have installed Ruby on Windows. Your expectation of  
Ruby being in /usr/local/bin indicates that you have cygwin installed.  
Obviously we cannot know how and where you have installed Ruby, but I  
would look for a ruby.exe on your disk and than create a symlink in  
cygwin to /usr/local/bin

HTH  
Robert

–  
[http://ruby-smalltalk.blogspot.com/](http://ruby-smalltalk.blogspot.com/)

* * *

Whereof one cannot speak, thereof one must be silent.  
Ludwig Wittgenstein

---

<div class="post-metadata">

**Author:** ![tenxian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@tenxian](https://www.ruby-forum.com/u/tenxian)\
**Post date:** [April 30, 2008, 10:10am UTC](https://www.ruby-forum.com/t/i-have-installed-ruby-186-26-why-is-there-no-usr-local-bin-ruby-directory/136275/3 "2008-04-30T10:10:26Z")

</div>

On Apr 30, 4:02 pm, Robert D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> HTH  
> Robert
> 
> –[http://ruby-smalltalk.blogspot.com/](http://ruby-smalltalk.blogspot.com/)
> 
> * * *
> 
> Whereof one cannot speak, thereof one must be silent.  
> Ludwig Wittgenstein

yea, my computer is Windows.

---

<div class="post-metadata">

**Author:** ![tenxian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@tenxian](https://www.ruby-forum.com/u/tenxian)\
**Post date:** [April 30, 2008, 1:02pm UTC](https://www.ruby-forum.com/t/i-have-installed-ruby-186-26-why-is-there-no-usr-local-bin-ruby-directory/136275/4 "2008-04-30T13:02:24Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

tenxian wrote:

|  
| yea, my computer is Windows.

Cygwin or Ruby O.-Click? That your OS is Windows could be inferred from  
your path change to e:\ruby.

If its the one-click installer: you should consider that Windows != \*NIX  
operating systems (like Mac OS X, or Linux). You’ll find a lot of  
examples and scripts that are either written by \*NIX folk, or are \*NIX  
specific.

* * *

Phillip G.  
Twitter: [twitter.com/cynicalryan](http://twitter.com/cynicalryan)  
Blog: [http://justarubyist.blogspot.com](http://justarubyist.blogspot.com)

(A)bort (F)ail (T)oss computer across room  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.8 (MingW32)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org](http://enigmail.mozdev.org)

iEYEARECAAYFAkgYUZQACgkQbtAgaoJTgL/3eQCbB/Sm+Aj0UY36HWsqA28UxQ7K  
peEAn1v6DHrsJX6FMN6ziVipBE7XcoYs  
=fJ4n  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![tenxian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@tenxian](https://www.ruby-forum.com/u/tenxian)\
**Post date:** [April 30, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/i-have-installed-ruby-186-26-why-is-there-no-usr-local-bin-ruby-directory/136275/5 "2008-04-30T15:49:07Z")

</div>

tenxian wrote:

> > HTH

You can’t really expect a mix of the Cygwin and One-Click Ruby paths and  
permissions to work reliably. Use Cygwin _or_ the One-Click.

---

<div class="post-metadata">

**Author:** ![tenxian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@tenxian](https://www.ruby-forum.com/u/tenxian)\
**Post date:** [April 30, 2008, 5:22pm UTC](https://www.ruby-forum.com/t/i-have-installed-ruby-186-26-why-is-there-no-usr-local-bin-ruby-directory/136275/6 "2008-04-30T17:22:19Z")

</div>

> When I installed it, I just changed the path to e:\ruby.

I installed ruby under c: on windows and it works nicely, including  
ruby-gtk on Windows. (A GUI makes me happier on windows)

To be honest, I hate working on windows. Ruby makes my life  
easier, but windows is still a p\*\*\*.
