Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ruby 2.0.0 doesn't need a build ruby

  • Loading branch information...
commit accd5480c228341fe36deceac2b28a4e799e9a5b 1 parent 28aca4c
@hone hone authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/language_pack/ruby.rb
View
2  lib/language_pack/ruby.rb
@@ -204,7 +204,7 @@ def setup_profiled
# determines if a build ruby is required
# @return [Boolean] true if a build ruby is required
def build_ruby?
- @build_ruby ||= !ruby_version_jruby? && ruby_version != "ruby-1.9.3"
+ @build_ruby ||= !ruby_version_jruby? && !%w{ruby-1.9.3 ruby-2.0.0}.include?(ruby_version)
end
# install the vendored ruby

2 comments on commit accd548

@wuputah
Owner

what's a build ruby?

@hone
Owner

A build ruby is a ruby that is compiled for the purpose of being used during the build process. This is needed for older versions of ruby that don't support the --enable-load-relative compile flag bug free. Ruby hard codes some paths without the flag, so we can't use the same ruby for both build and runtime.

Please sign in to comment.
Something went wrong with that request. Please try again.