mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-08 10:49:59 +00:00
16 lines
340 B
Ruby
16 lines
340 B
Ruby
|
|
require 'fileutils'
|
||
|
|
include FileUtils
|
||
|
|
|
||
|
|
require 'rubygems'
|
||
|
|
%w[rake hoe newgem rubigen].each do |req_gem|
|
||
|
|
begin
|
||
|
|
require req_gem
|
||
|
|
rescue LoadError
|
||
|
|
puts "This Rakefile requires the '#{req_gem}' RubyGem."
|
||
|
|
puts "Installation: gem install #{req_gem} -y"
|
||
|
|
exit
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
|