Hey all:
I use cygwin, and installed ruby to mess around with it.
Can I also install the windows one-click-ruby-installer?
Will they interfere with each other?
-cjl
Hey all:
I use cygwin, and installed ruby to mess around with it.
Can I also install the windows one-click-ruby-installer?
Will they interfere with each other?
-cjl
cjl wrote:
Hey all:
I use cygwin, and installed ruby to mess around with it.
Can I also install the windows one-click-ruby-installer?
Yes.
Will they interfere with each other?
No.
I have both the versions along with SFU 3.5 version living happily under one roof
HTH,
-cjl
-- shanko
Hey all:
Well, I went ahead and installed the one-click installer, and I think
it screwed up my cygwin ruby, because now irb doesn't work anymore.
If I type irb at the command prompt, I get the following:
/usr/bin/ruby: No such file to load -- ubygems (LoadError)
Note, 'ubygems' is not a typo, that is how the error message is
printed.
Help, anyone?
-cjl
OK:
If I type irb I get the error message I described in my previous post.
If I type irb and then <tab> for command completion, I see there is
both irb and irb.bat, and irb.bat works.
Also, somehow the one-click installer /bin directory got automatically
added to my cygwin path. How did that happen?
-cjl
Hello cjl,
OK:
If I type irb I get the error message I described in my previous post.
If I type irb and then <tab> for command completion, I see there is
both irb and irb.bat, and irb.bat works.
Also, somehow the one-click installer /bin directory got automatically
added to my cygwin path. How did that happen?
-cjl
One Click Installer has now implemented the stupid idea to register
the global environment variable "RUBYOPT" which loads the rubygems.
This is for all ruby interpreters on your system. Even if they
are older 1.8.1 systems (which do not support rubygems by default).
The idea is really bad and one more sign that ruby is a little bit
immature at the moment. If rubygems is such a good project (and i
think it is), someone should integrate this into the ruby.exe file
instead overloading 'require' with the current quick and dirty
hack.
For you the advise: do a "export RUBYOPT=" and everything should work
again.
--
Best regards, emailto: scholz at scriptolutions dot com
Lothar Scholz http://www.ruby-ide.com
CTO Scriptolutions Ruby, PHP, Python IDE 's
Lather:
Thanks for the info.
Are the one-click installer people aware that they screw-up cygwin?
Should I drop the a note?
-cjl
cjl wrote:
Lather:
Thanks for the info.
Are the one-click installer people aware that they screw-up cygwin?
Should I drop the a note?
By default, the one-click installer installs RubyGems and sets the
environment variable. If you uncheck that option, this will not happen.
Curt
Hi cjl,
I owe you an apology for leading into a sticky situation. I haven't played with my Cygwin installation in a while and should have checked it out before responding. Please accept my sincere apologies.
cjl wrote:
Are the one-click installer people aware that they screw-up cygwin?
I am one of the members, and as a penance, will look into making it less painfull
Should I drop the a note?
Noted !
-cjl
-- shanko
Hi cjl,
I owe you an apology for leading into a sticky situation. I haven't played with my Cygwin installation in a while and should have checked it out before responding. Please accept my sincere apologies.
cjl wrote:
Are the one-click installer people aware that they screw-up cygwin?
I am one of the members, and as a penance, will look into making it less painfull
Should I drop the a note?
Noted !
-cjl
-- shanko