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

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

···

On Wed, Apr 30, 2008 at 9:50 AM, tenxian <hi.steven.tu@gmail.com> wrote:

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

--
http://ruby-smalltalk.blogspot.com/

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

yea, my computer is Windows.

···

On Apr 30, 4:02 pm, Robert Dober <robert.do...@gmail.com> wrote:

On Wed, Apr 30, 2008 at 9:50 AM, tenxian <hi.steven...@gmail.com> 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/

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

tenxian wrote:

yea, my computer is Windows.

Cygwin or Ruby One-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 Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

(A)bort (F)ail (T)oss computer across room

tenxian wrote:

···

On Apr 30, 4:02 pm, Robert Dober <robert.do...@gmail.com> wrote:

On Wed, Apr 30, 2008 at 9:50 AM, tenxian <hi.steven...@gmail.com> 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/

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

yea, my computer is Windows.

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.

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***.

···

--
Posted via http://www.ruby-forum.com/\.