Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.506 kb
task :default => :gem
require 'rake/testtask'
Rake::TestTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
test.ruby_opts = ['-rhelper']
end
require 'rubygems'
spec = Gem::Specification.load('rubygems-compile.gemspec')
require 'rake/gempackagetask'
Rake::GemPackageTask.new(spec) { }
require 'rubygems/dependency_installer'
desc 'Build the gem and install it'
task :install => :gem do
Gem::Installer.new("pkg/#{spec.file_name}").install
end
Jump to Line
Something went wrong with that request. Please try again.