From: Cheri Anaclerio Date: 2008-06-29T13:58:24+09:00 Subject: Re: Ruby 1.9.0/1.8.7/1.8.6/1.8.5 new releases (Security Fix) Ok, I took the stow route and followed the steps below. However, now when I start the webrick server, Rubygems 0.9.4.1 can't be found even though it is installed. Looks like the directory I'm pointing to doesn't know anything about Rubygems. What can I do to fix this? Thanks! Cheri (See full trace by running task with --trace) Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org [root@localhost cz]# yum install rubygems fedora 100% |=========================| 2.1 kB 00:00 updates 100% |=========================| 2.3 kB 00:00 adobe-linux-i386 100% |=========================| 951 B 00:00 Setting up Install Process Parsing package install arguments Package rubygems - 0.9.4-1.fc8.noarch is already installed. Nothing to do [root@localhost cz]# > > I'd strongly recommend that you use GNU Stow > [http://www.gnu.org/software/stow/manual.html] and change the steps to: > > $ ./configure --prefix=/usr/local/stow/ruby-1.8.6p230smartleaf > $ make > $ sudo mkdir -p /usr/local/stow > $ sudo make install > $ sudo stow -d /usr/local/stow ruby-1.8.6p230smartleaf > > With those commands, you'll end up with a symlink at /usr/local/bin/ruby > that points to the installed version deeper within the /usr/local/stow > hierarchy. > > Using stow will let you easily install, uninstall and switch between > versions of a compiled applications. > > -igal > > PS: Another good alternative is to use Ruby Enterprise Edition > [http://rubyenterpriseedition.com/] which already includes the patches > and installs itself by default into directory within /opt. -- Posted via http://www.ruby-forum.com/.