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?

On Wed, Apr 30, 2008 at 9:50 AM, tenxian [email protected] 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

On Apr 30, 4:02 pm, Robert D. [email protected] wrote:

HTH
Robert

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


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

yea, my computer is Windows.

-----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
Blog: 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

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

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.

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs