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:
- you’ll need to ‘apt-get install build-essential’ before you can ‘gem install mongrel’
- better documentation can be found at http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu
You need to make this
$ sudo apt-get ruby1.8-dev irb
and after
$ sudo gem install rails
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
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.
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.)
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.