diff options
author | Sergio Campamá <kaipi@google.com> | 2016-07-15 13:59:09 -0700 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-07-15 16:59:09 -0400 |
commit | f6d1d1a17e914270992d205fa8fa2b3cf4a0a9f7 (patch) | |
tree | aa1bda04ae5e42cf9d2d013dc10ee17de3b75500 /tests.sh | |
parent | 10a8fb4e73b3dada58123aeabc393288ac791dc8 (diff) | |
download | protobuf-f6d1d1a17e914270992d205fa8fa2b3cf4a0a9f7.tar.gz protobuf-f6d1d1a17e914270992d205fa8fa2b3cf4a0a9f7.tar.bz2 protobuf-f6d1d1a17e914270992d205fa8fa2b3cf4a0a9f7.zip |
Uses head version of rvm to avoid shell_update_session not found error (#1791)
Uses head version of rvm to avoid shell_update_session not found error
Fixes #1786
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -238,6 +238,10 @@ build_objectivec_osx() { build_objectivec_cocoapods_integration() { # First, load the RVM environment in bash, needed to update ruby. source ~/.rvm/scripts/rvm + # Update rvm to the latest version. This is needed to solve + # https://github.com/google/protobuf/issues/1786 and may not be needed in the + # future when Travis updates the default version of rvm. + rvm get head # Update ruby to 2.2.3 as the default one crashes with segmentation faults # when using pod. rvm use 2.2.3 --install --binary --fuzzy |