After installing a ruby using rvm, you need to tell rvm to use it.
Assuming you have your shell configured correctly as documented on the
rvm homepage, run this:
$ rvm use ruby-1.9.2
At this point, you should have the gem command available since rubygems
is integrated with ruby-1.9.2. You may then choose to upgrade rubygems
if you wish.
-Jeremy
ยทยทยท
On 8/18/2011 09:23, reed das wrote:
$ rvm install ruby-1.9.2
$ rvm rubygems 1.8.8
ERROR: 'ruby' was not found, cannot install rubygems unless ruby is
present (Do
you have an RVM ruby installed & selected?)
1 [main] ruby 7216 C:\cygwin\home\me\.rvm\rubies\ruby-1.9.2-p290\
bin\ruby.exe: *** fatal error - unable to remap \\?\C:\cygwin\home\me\.
rvm\rubies\ruby-1.9.2-p290\lib\ruby\1.9.1\i386-cygwin\etc.so to same
address as
parent: 0x3E0000 != 0x3F0000
Stack trace:
Frame Function Args
00289098 6102796B (00289098, 00000000, 00000000, 00000000)
00289388 6102796B (6117EC60, 00008000, 00000000, 61180977)
0028A3B8 61004F1B (611A7FAC, 612492D4, 003E0000, 003F0000)
End of stack trace
1 [main] ruby 9668 fork: child 7216 - died waiting for dll
loading, errno
That's a typical Cygwin fork problem and has nothing to do with ruby.
You'll need to take this up with the Cygwin mailing list. You can add
your voice to the chorus of people experiencing this class of problem. :-/
There are various workarounds you can try that may or may not work for
you. Common solutions are to disable/remove certain applications such
as certain AV software and some video drivers that bind into the guts of
Windows and disrupt Cygwin (see BLODA - Cygwin FAQ), running
rebaseall, and shutting down memory hungry applications such as Firefox.
If you're on Win7 64-bit, you're in the same boat as me. The Cygwin
devs are working on hacking better support for that platform, and you
may have luck with one of their recent snapshot builds.