Sha256: a42c4bd83d6c3930f6895cfd78b440176f630ff19f01104212050c9e2d71a711
Contents?: true
Size: 1.56 KB
Versions: 5
Compression:
Stored size: 1.56 KB
Contents
# Copyright 2006-2008 by Mike Bailey. All rights reserved. Capistrano::Configuration.instance(:must_exist).load do namespace :deprec do namespace :mri do SRC_PACKAGES[:mri] = { :md5sum => "18dcdfef761a745ac7da45b61776afa5 ruby-1.8.7-p174.tar.gz", :url => "ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz", :configure => "./configure --with-readline-dir=/usr/local;" } desc "Install Ruby" task :install do install_deps deprec2.download_src(SRC_PACKAGES[:mri], src_dir) deprec2.install_from_src(SRC_PACKAGES[:mri], src_dir) top.deprec.rubygems.install end task :install_deps do apt.install( {:base => %w(zlib1g-dev libssl-dev libncurses5-dev libreadline5-dev)}, :stable ) end end end namespace :deprec do namespace :rubygems do SRC_PACKAGES[:rubygems] = { :md5sum => "b17b398503253bf36a101c58f02a226f rubygems-1.3.4.tgz", :url => "http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz", :configure => "", :make => "", :install => 'ruby setup.rb;' } desc "Install Rubygems" task :install do install_deps deprec2.download_src(SRC_PACKAGES[:rubygems], src_dir) deprec2.install_from_src(SRC_PACKAGES[:rubygems], src_dir) # gem2.upgrade # you may not want to upgrade your gems right now end # install dependencies for rubygems task :install_deps do end end end end
Version data entries
5 entries across 5 versions & 1 rubygems