From: Peter Pk Date: 2008-08-19T07:04:21+09:00 Subject: Re: Help with Ruby under cygwin more: so a default install of cygwin produces mount locations as follows. $ mount -m mount -f -s -b "C:/cygwin/bin" "/usr/bin" mount -f -s -b "C:/cygwin/lib" "/usr/lib" mount -f -s -b "C:/cygwin" "/" mount -f -s -b "C:/cygwin/home" "/home" mount -s -b --change-cygdrive-prefix "/cygdrive" Note /bin and /usr/bin are the same. So somethign must be configured differently for it to work. Any ideas? Peter Pk wrote: > Replying with my own message. > OK - It seems (guesswork here) that one must unpack the runygems zip > file "anywhere" and then CD to it's root and do: > > $ ruby ./setup.rb > And it executes a setup program, this succeeds. > > Setup.rb however creates a directory called /usr/bin/ruby > so now in cygwin if I get: > > $ ruby > bash: /usr/bin/ruby: is a directory > > since /usr/bin is in the path. > > How does one get around this? > Take /usr/bin out of the path? > always use "ruby.exe" explicitly? > Configure ruby to put its stuff somewhere else? > > ??? > -- Posted via http://www.ruby-forum.com/.