I updated my laptop to Ubuntu 6.10 Beta (Edgy Eft) and it’s working great. So far I’ve had less problems than the beta of Dapper, but it has only been two day. My first experience off the tested path of synaptic packages is ruby on rails. Edgy comes with a rails package, but like Dapper, no gems. So here is the install of gems, and the rails from withing gems, on Ubuntu 6.10 Edgy Eft.
# sudo apt-get install ruby ruby1.8-dev irb rdoc
# wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz
# tar xvfz rubygems-0.9.0.tgz
# cd rubygems-0.9.0
# sudo ruby setup.rb
# sudo gem install rails
I did get an rdoc error, but everything else installed fine, so I ignored it and continued on. This error is fixed by adding rdoc to the apt-get command above. It is here for historical purposes, and perhaps will help someone.
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’: no such file to load — rdoc/rdoc (LoadError)
Other Notes:
Copyright ©2005-2007 Nicholas Brand. All rights reserved.
powered by WordPress.
24 queries. 0.218 seconds
October 28th, 2006
You need to make this
$ sudo apt-get ruby1.8-dev irb
and after
$ sudo gem install rails
October 29th, 2006
Updated, thanks for the tip. I also stubled upon the “Offical RoR” Ruby on Rails for Ubuntu instructions here: http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu
November 11th, 2006
I’m not sure if those errors are to be ignored. At least I’m unable to install the mongrel gem, but that doesn’t nessecarily have anything to do anything with this.
November 23rd, 2006
Here’s a howto that actually works: http://dnite.wordpress.com/2006/10/24/ruby-on-rails-on-ubuntu/
(At least it gave me no errors durin installation, and installing and running mongrel worked.)
November 24th, 2006
Thanks for that link Simon, the trick to get rdoc working appears to be installing it through Ubuntu’s Apt instead of Gems. I’ve updated the post with this info.