Bootstrapping Ruby on Fedora Core 7

The context: a GoDaddy VPS running FC7 (apparently, GoDaddy hasn’t updated their VPS distros in years).

The problem: The inability to use any Ruby Gems because the FC7 ruby and ruby-gems packages are years and years behind everything I’m trying to install. Also, RMagick is segfaulting.

More problems: I can download and compile Ruby 1.9 just fine, but when I try to install Ruby Gems 1.3.1, it overwrites the Ruby interpreter (what??). This problem is documented here, but I’m pretty sure I’d have to pull from the repository to grab the fix.

My solution: Install Ruby (make install). Install Ruby Gems (ruby setup.rb). Move the gem binary to where it belongs (mv /usr/local/bin/ruby /usr/local/bin/gem). Install Ruby again (make install). This appears to work.

I gotta get off that GoDaddy VPS.

1 Pingback

  1. 2009-04-14T04:03:30-0400aidanfindlater.com » Ruby ImageMagick memory allocation errors on April 14, 2009 – 4:03 am
Leave your thoughts
  • You can use some HTML in your comment.
  • Your comment may not display immediately due to spam filtering. Please wait for moderation.