blob: 81df2890e2e77c0b0dd244f7cb562c7096333baf (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
desc 'Ensure all the cross compiled versions are installed'
task :bootstrap do
fail "Sorry, this only works on OSX and Linux" if RUBY_PLATFORM =~ /mswin|mingw/
versions = %w(1.8.7-p371 1.9.3-p392 2.0.0-p0)
versions.each do |version|
puts "[INFO] Attempt to cross-compile Ruby #{version}"
ruby "-Ilib bin/rake-compiler cross-ruby VERSION=#{version}"
end
end
|