Page Title
Body h2. Upgrading from Source <pre><code> # install readline and ncurses sudo yum install -y readline readline-devel ncurses ncurses-devel # for ruby 1.8.7 wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.bz2 tar xjvf ruby-1.8.7-p174.tar.bz2 cd ruby-1.8.7-p174 # for ruby 1.8.6 wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p369.tar.gz tar xzvf ruby-1.8.6-p369.tar.gz cd ruby-1.8.6-p369 # remove ruby from yum sudo yum remove -y ruby # complie your selected ruby ./configure --prefix=/usr --with-readline-dir=/usr/local --enable-shared make sudo make install cd .. # install RubyGems wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz tar xfz rubygems-* cd rubygems-* sudo ruby setup.rb cd .. # recompile RubyGems sudo gem pristine --all # compiling mysql will probably fail. this should fix that sudo gem install mysql -- --with-mysql-config # restart your mongrels sudo /etc/init.d/mongrel_cluster restart </code></pre>
Make page private