A Project Blog

Ruby on Rails on Ubuntu Edgy

by @ September 30, 2006. Filed under howto, rails

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:

5 Responses to “Ruby on Rails on Ubuntu Edgy”

  1. Alex Says:

    You need to make this

    $ sudo apt-get ruby1.8-dev irb

    and after

    $ sudo gem install rails

  2. nick58b Says:

    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

  3. Simon Rönnqvist Says:

    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.

  4. Simon Rönnqvist Says:

    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.)

  5. nick58b Says:

    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.

Leave a Reply

Copyright ©2005-2007 Nicholas Brand. All rights reserved.
powered by WordPress.

categories:

links:

blogroll:

search:

archives:

September 2006
M T W T F S S
« Aug   Oct »
 123
45678910
11121314151617
18192021222324
252627282930  

other:

computers:

  • backupbox
  • closetbox (server)
  • routerbox
  • htpc
  • netbook
  • mini
  • shuttle
  • icebox (desktop)
  • thinkpad
  • other devices:

  • nokia 770
  • personal:

    Amazon Wishlist
    Last.FM
    del.icio.us
    Digg
    Twitter

    24 queries. 0.218 seconds