Ruby on Rails 2.02 / Ubu7.10 Now Available!

Railsters,

We have launched an interim release of the latest Ruby on Rails 2.02 platform on Ubuntu Gutsy 7.10.

Although our longer-term plan is to provide Rails 2.02 on the more recent Ubuntu Hardy 8.04 LTS / Debian-based platform, this release supports the latest Rails with the usual plugins and support you’ve come to expect from Libre Hosting.

We follow the recommended installation procedure for Ubuntu with Rails, found here: https://help.ubuntu.com/community/RubyOnRails

We also include many defaults and well-chosen packages by us as well as favorites within the community, such as Mongrel, MySQL, OpenSSL, and so forth.

Here’s the way we installed it – let’s start with a few useful utilities, ssh, mysql, lighty, followed by basic ruby and gems only:

apt-get update
apt-get -y install wget mc ssh curl lynx zip unzip arj rar unrar rsync rzip build-essential
apt-get -y install mysql-server libmysqlclient15-dev lighttpd
apt-get -y install ruby rdoc irb libyaml-ruby libzlib-ruby ri libopenssl-ruby ruby1.8-dev
apt-get -y install rubygems

Note that we only want the basic ruby language install – everything else will be maintained by gems, including rails, so we install only rubygems itself from Debian/Ubuntu, and install Rails (and any/all other Ruby dependencies) directly via gems. Be sure you don’t step on gems by using apt-get to install ruby packages! Always use gems.

Also, note that the update –system updates the libraries to gems’ dependency needs, not Ubuntu’s – so now further ruby (and Rails-related) packages will install consistently with gems.

Here we go:

gem update –system
gem install rails -y –include-dependencies
gem install mongrel

apt-get -y install libmysql-ruby
gem install mysql

apt-get -y install imagemagick libmagick9-dev
gem install rmagick

gem install capistrano
gem install puppet

NOTE: RMagick does not install due to version conflicts with the older version of ImageMagick found in Ubuntu7.10. We will address this issue shortly.

PostgreSQL and/or SQLite3 can also be installed on request – as well as GeoKit, and the Rails examples.

Thanks,
LH Staff

Leave a Reply