## Defines available packages package :ruby do description 'Ruby Virtual Machine' version '1.8.6' source "ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-#{version}-p111.tar.gz" # implicit :style => :gnu requires :ruby_dependencies end package :ruby_dependencies do description 'Ruby Virtual Machine Build Dependencies' apt %w( bison zlib1g-dev libssl-dev libreadline5-dev libncurses5-dev file ) end package :rubygems do description 'Ruby Gems Package Management System' version '1.0.1' source "http://rubyforge.org/frs/download.php/29548/rubygems-#{version}.tgz" do custom_install 'ruby setup.rb' end requires :ruby end package :rails do description 'Ruby on Rails' gem 'rails' version '2.0.2' end