Installing Ruby in Debian
You need Ruby 1.8 from the testing branch, even if you're running Debian stable.
Install the following package from testing
1. Install Base ruby 1.8
apt-get install ruby1.8 libyaml-ruby1.8 libzlib-ruby1.8 rdoc1.8 liberb-ruby1.8
ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby
2. Install Ruby gems
Go to the file download section on RubyForge: http://rubyforge.org/frs/?group_id=126
Select the version and format you want. You need to unzip/untar the file and then execute 'ruby setup.rb' as superuser to install the Rubygems package
Rubygems documentation is available at http://docs.rubygems.org/
|