| Message |
 |
Date: 2006-12-12 22:41
Sender: Eric Hodel
rubygems requires ruby 1.8.1+. Install and use the correct ruby. |
Date: 2006-06-22 18:06
Sender: Ryan W
I had the exact same problem on RedHat 8. Turns out the wrong
version of ruby was in my path first. I used the full path &
it fixed. Will be un-installing old version here soon. |
Date: 2005-04-09 11:12
Sender: Nobody
Logged In: NO
i'm just getting into ruby (today) and came across the exact
same issue. none of the suggestions here worked for me. my solution
was to download ruby 1.8.2, configure, make, make install, then
install rubygems. worked just fine. |
Date: 2005-03-27 16:07
Sender: Nobody
Logged In: NO
You can run the install with the full path to get it to work.
/usr/local/bin/ruby setup.rb
However, gems may not work once you get it installed. Your best
bet is to symlink in place of your default ruby like so.
cd /usr/bin
mv ruby ruby.orig
ln -s /usr/local/bin/ruby /usr/bin/ruby
This should fix you right up.
'njoy,
Mark |
Date: 2005-03-25 11:18
Sender: Steve Beisner
Logged In: YES
user_id=2182
I found the answer from a suggestion on TextDrive. I
expect anyone installing on a recent OS-X may encounter
this problem.
The problem is an existing version 1.6.8 ruby executable
that is distributed (?) with OS-X. It's located in
/usr/bin, and if that directory appears before
/usr/local/bin, where the new build installs by default,
then the install scripts for rubygems are run using
the old version of ruby.
The fix is to, for example change the PATH definition
so /usr/local/bin comes before /usr/bin.
|
Date: 2005-03-25 09:23
Sender: Steve Beisner
Logged In: YES
user_id=2182
I have *exactly* the same problem.
This is on a clean system, OS-X 10.3.8
recently reinstalled. Anybody have
any suggestions about what to try
next? I've gone through the install
procedure, starting with installing
ruby from the start several times.
All goes well until the error occurs
during installation of rubygems.
Help? |