From: Peter Pk Date: 2008-08-20T03:53:24+09:00 Subject: Re: Help with Ruby under cygwin I deliberately removed GEM_HOME and tried it again and it still installed in /usr/bin/ruby When I explicitly set it to /usr/local/lib it went into the right place. It is possible that the setup.rb cached the prior GEM_HOME when it did it's "configure" phase. So it seems the only reliable way to make an explicit, accurate, installation script is to explicity define GEM_HOME as part of the procedure. Since "setup" isn't explicitly asking for the items and/or showing the current settings and asking "Y" or "N" to continue. ie: like a debian install script. toomln wrote: >> 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 > > I don't know what you have done here but it seems to me that you made > a mistake around step #1. > > If you have windows ruby installed too, make sure its directory isn't > in your path before cygwin ruby and review any RUBY* environments > variables (unset RUBYOPT). Maybe also check $PATH so that no windows > commands with the same name as cygwin commands are used instead of > cygwin commands. Anything else should work smoothly. -- Posted via http://www.ruby-forum.com/.