Sha256: 2cd88196cff3f7d0bfe8724b07ecb65a1a301c13bcf3b6e39cac8e7a435704cf

Contents?: true

Size: 794 Bytes

Versions: 5

Compression:

Stored size: 794 Bytes

Contents

require 'deprec-core'
Capistrano::Configuration.instance(:must_exist).load do

  namespace :deprec do
    namespace :rubygems do

      SRC_PACKAGES[:rubygems] = {
        :md5sum => "b5badb7c5adda38d9866fa21ae46bbcc  rubygems-1.4.2.tgz",
        :url => "http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz",
        :configure => "",
        :make =>  "",
        :install => 'ruby setup.rb; exit 0;' # rubygems 1.4.2 is a bit broken http://bit.ly/k1IfUa
      }

      desc "Install Rubygems"
      task :install do
        deprec2.download_src(SRC_PACKAGES[:rubygems])
        deprec2.install_from_src(SRC_PACKAGES[:rubygems])
      end

      desc "Upgrade to the latest version of Rubygems"
      task :update_system do
        gem2.update_system
      end

    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deprec-3.1.0.rc16 lib/deprec/recipes/rubygems.rb
deprec-3.1.0.rc15 lib/deprec/recipes/rubygems.rb
deprec-3.1.0.rc13 lib/deprec/recipes/rubygems.rb
deprec-3.1.0.rc12 lib/deprec/recipes/rubygems.rb
deprec-3.1.0.rc11 lib/deprec/recipes/rubygems.rb