[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

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

Phper

4/30/2008 7:49:00 AM

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

Robert Dober

4/30/2008 8:03:00 AM

0

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?
>
>
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.blo...

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

Phper

4/30/2008 8:07:00 AM

0

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.blo...
>
> ---
> Whereof one cannot speak, thereof one must be silent.
> Ludwig Wittgenstein

yea, my computer is Windows.

Phillip Gawlowski

4/30/2008 11:02:00 AM

0

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

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

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

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

M. Edward (Ed) Borasky

4/30/2008 1:48:00 PM

0

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


Marc Heiler

4/30/2008 3:23:00 PM

0

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