Ruby build fix mac 3.7.x (#5519)

* Fix gem build for mac

* Update version to 3.7.0

* Change base ruby to 2.5.0

* Revert unnecessary changes
This commit is contained in:
Paul Yang 2019-01-02 09:51:31 -08:00 committed by GitHub
parent c4fb353fc8
commit 7dcf8fa8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ EOF
MAKE="make -j8"
for v in 2.5.0 2.4.0 2.3.0 2.2.2 2.1.6 2.0.0-p645 ; do
for v in 2.5.1 2.4.0 2.3.0 ; do
ccache -c
rake -f "$CROSS_RUBY" cross-ruby VERSION="$v" HOST=x86_64-darwin11 MAKE="$MAKE"
done

View File

@ -76,7 +76,7 @@ else
if RUBY_PLATFORM =~ /darwin/
task 'gem:native' do
system "rake genproto"
system "rake cross native gem RUBY_CC_VERSION=2.5.0:2.4.0:2.3.0:2.2.2:2.1.6:2.0.0"
system "rake cross native gem RUBY_CC_VERSION=2.5.1:2.4.0:2.3.0"
end
else
task 'gem:native' => [:genproto, 'gem:windows']