class Gem::Tasks::Install

def define


Defines the `install` task.
def define
  namespace :install do
    @project.builds.each do |build,packages|
      path = packages[:gem]
      task build => path do
        status "Installing #{File.basename(path)} ..."
        install(path)
      end
    end
  end
  desc "Installs all built gem packages"
  gemspec_tasks :install
  task :install_gem => :install # backwards compatibility with Hoe
end