Sha256: 0b57617cf080759493df1c1b1fd6c2e9203154480f2341a60ab1c7478ccdac79

Contents?: true

Size: 1.6 KB

Versions: 14

Compression:

Stored size: 1.6 KB

Contents

# Copyright 2006-2008 by Mike Bailey. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 
  namespace :deprec do     
    namespace :ree do

      SRC_PACKAGES[:ree_lucid] = {
        :md5sum => "ec29e25e93ac642212790b0ca22e09f9  ruby-enterprise_1.8.7-2011.03_amd64_ubuntu10.04.deb",
        :url => "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise_1.8.7-2011.03_amd64_ubuntu10.04.deb",
        :download_method => :deb
      }

      SRC_PACKAGES[:ree_lucid32] = {
        :md5sum => "bf31bd7cba14ac76b49c3394114b2d31  ruby-enterprise_1.8.7-2011.03_i386_ubuntu10.04.deb",
        :url => "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise_1.8.7-2011.03_i386_ubuntu10.04.deb",
        :download_method => :deb
      }

      SRC_PACKAGES[:ree_src] = {
        :md5sum => "038604ce25349e54363c5df9cd535ec8  ruby-enterprise-1.8.7-2011.03.tar.gz",
        :url => "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz",
        :deps => %w(zlib1g-dev libssl-dev libreadline5-dev),
        :configure => '',
        :make => '',
        :install => "#{src_dir}/ruby-enterprise-1.8.7-2011.03/installer --auto /usr --dont-install-useful-gems --no-dev-docs"
      }

      src_package_options = SRC_PACKAGES.keys.select{|k| k.to_s.match /^ree_/ }
      set(:ree_src_package) { Capistrano::CLI.ui.choose *src_package_options }

      desc "Install Ruby Enterprise Edition"
      task :install do
        deprec2.download_src(SRC_PACKAGES[ree_src_package])
        deprec2.install_from_src(SRC_PACKAGES[ree_src_package])
      end

    end      
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
deprec-3.1.0.rc10 lib/deprec/recipes/ree.rb
deprec-3.1.0.rc9 lib/deprec/recipes/ree.rb
deprec-3.1.0.rc8 lib/deprec/recipes/ree.rb
deprec-3.1.0.rc7 lib/deprec/recipes/ree.rb
deprec-3.1.0.rc6 lib/deprec/recipes/ree.rb
deprec-3.1.0.rc5 lib/deprec/recipes/ree.rb
deprec-3.1.0.rc4 lib/deprec/recipes/ree.rb
deprec-3.1.0.rc3 lib/deprec/cap/recipes/ree.rb
deprec-3.1.0.rc2 lib/deprec/cap/recipes/ree.rb
deprec-3.1.0.rc1 lib/deprec/cap/recipes/ree.rb
deprec-2.2.3 lib/deprec/recipes/ree.rb
deprec-2.2.2 lib/deprec/recipes/ree.rb
deprec-2.2.1 lib/deprec/recipes/ree.rb
deprec-2.2.0 lib/deprec/recipes/ree.rb