Ruby/RubyGems on SimplyMEPIS 6.0

# whoami
root
# gunzip -dc ruby-1.8.5-p12.tar.gz | tar -xof -
# cd ruby-1.8.5-p12
# ./configure
# make
# make test
# sudo make install
# gunzip -dc rubygems-0.9.2.tgz | tar -xof -
# cd rubygems-0.9.2
# ruby setup.rb
.
.
.
Successfully built RubyGem
Name: sources
Version: 0.0.1
File: sources-0.0.1.gem
Removing old RubyGems RDoc and ri...
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- rdoc/rdoc (LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /home/belle/Desktop/rubygems-0.9.2/./post-install.rb:103:in `install_rdoc'
from /home/belle/Desktop/rubygems-0.9.2/./post-install.rb:118:in `try_run_hook'
from setup.rb:584:in `run_hook'
from setup.rb:1322:in `exec_task_traverse'
from setup.rb:1175:in `exec_install'
from setup.rb:894:in `exec_install'
from setup.rb:712:in `invoke'
from setup.rb:681:in `invoke'
from setup.rb:1359

Hmmm. Let’s see what MEPIS is missing. It built perfectly on an unpatched version of FC6 the last time. Its probably got something to do with rdoc:

# apt-get install rdoc
# ruby setup.rb
# apt-get install libyaml-ruby
# apt-get install libzlib-ruby
# gem install rails

There’s probably more; e.g. activerecord and all but that’s enough for today. I shall get Subversion up and running soon too, so this can become my development platform.

Adapted from railsforum.com.

Advertisements

2 thoughts on “Ruby/RubyGems on SimplyMEPIS 6.0

  1. In retrospect, I must have broken the system, since there’s probably a .deb for ruby somewhere in Synaptics.

    Will re-setup on Debian soon, after the dreaded exam.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s