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开发者_Go百科. 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.
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
Install Ruby 2.1.2
sudo wget http://cache.rubylang.org/pub/ruby/2.1/ruby2.1.2.tar.gz
sudo tar xvfvz ruby2.1.2.tar.gz
sudo rm ruby2.1.2.tar.gz
cd ruby2.1.2
sudo ./configure
sudo make
sudo make install
You can download Ruby source code and compile it
精彩评论