Permalink
Browse files

download the rbx build tar

  • Loading branch information...
1 parent a83b345 commit 0159a4b62e840572e7e55d476ca569651cfe6a61 @hone hone committed Jan 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/language_pack/ruby.rb
@@ -147,7 +147,8 @@ def install_ruby
if !ruby_version_jruby?
FileUtils.mkdir_p(build_ruby_path)
Dir.chdir(build_ruby_path) do
- run("curl #{VENDOR_URL}/#{ruby_version.sub("ruby", "ruby-build")}.tgz -s -o - | tar zxf -")
+ ruby_vm = ruby_version_rbx? ? "rbx" : "ruby"
+ run("curl #{VENDOR_URL}/#{ruby_version.sub(ruby_vm, "#{ruby_vm}-build")}.tgz -s -o - | tar zxf -")
end
error invalid_ruby_version_message unless $?.success?
end

0 comments on commit 0159a4b

Please sign in to comment.