1

Hai.

I am trying to install What's Next GTD on my CentOS machine. The app requires sqlite3-ruby installed. So i tried installing ruby first. Unfortunately, the yum installation says : "No package ruby available". Yes i know there are similar topics which already discussed this. One of them was this. So i tried what was discussed back then. Still, i got the same output : "No package ruby available".

Any help is greatly appreciated.

Community
  • 1
  • 1
Hendra Jaya
  • 1,608
  • 11
  • 15
  • So, you are looking for a programming solution to this? – Oded Sep 02 '10 at 08:18
  • I knew it's kind of weird posting such a question here. But my link above shows that similar question exists. Based on that, i post it here. – Hendra Jaya Sep 02 '10 at 08:34

3 Answers3

6

INSTALLING RUBY ON RAILS:

1) Install Ruby

See: http://rubyonrails.org/down

wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz
tar -zxvf ruby-1.9.2-p136.tar.gz
cd ruby-1.9.2-p136
./configure --with-openssl-dir=/usr/lib/openssl
make
sudo make install

2) Install ruby gems
wget http://rubyforge.org/frs/download.php/74140/rubygems-1.5.0.tgz
tar -zxvf rubygems-1.5.0.tgz
cd rubygems-1.5.0
sudo ruby setup.rb config
sudo ruby setup.rb setup
sudo ruby setup.rb install

3) Install Rails:
sudo gem install --version '2.2.3' rails --include-dependencies

4) Install Mongrel
sudo gem install mongrel mongrel_cluster

Amen
  • 713
  • 4
  • 15
  • 28
1

Install Ruby 2.1.2

sudo wget http://cache.ruby­lang.org/pub/ruby/2.1/ruby­2.1.2.tar.gz
sudo tar xvfvz ruby­2.1.2.tar.gz
sudo rm ruby­2.1.2.tar.gz
cd ruby­2.1.2
sudo ./configure
sudo make
sudo make install
Ahmad Hussain
  • 2,443
  • 20
  • 27
0

You can download Ruby source code and compile it

abhijit
  • 6,363
  • 5
  • 26
  • 32