aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-02-06 03:36:18 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-02-06 03:36:18 +0100
commitff2e76e286224306b08f77b264338cfb7be7cb3e (patch)
treeac2132322260945b5c7f6925d0ef008dab6eb4cd /tools
parent9d6de14fcfa85c380c6b342ea54baf6cb24f1dc6 (diff)
rake-compiler builds aren't repeatable after all.
Diffstat (limited to 'tools')
-rw-r--r--tools/distrib/build_ruby_environment_macos.sh2
-rwxr-xr-xtools/run_tests/build_artifact_ruby.sh3
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/distrib/build_ruby_environment_macos.sh b/tools/distrib/build_ruby_environment_macos.sh
index 317c2721c2..ff3a388eaf 100644
--- a/tools/distrib/build_ruby_environment_macos.sh
+++ b/tools/distrib/build_ruby_environment_macos.sh
@@ -30,6 +30,8 @@
set -ex
+rm -rf ~/.rake-compiler
+
CROSS_RUBY=`mktemp tmpfile.XXXXXXXX`
curl https://raw.githubusercontent.com/rake-compiler/rake-compiler/v0.9.5/tasks/bin/cross-ruby.rake > $CROSS_RUBY
diff --git a/tools/run_tests/build_artifact_ruby.sh b/tools/run_tests/build_artifact_ruby.sh
index 015f54f026..21daee7351 100755
--- a/tools/run_tests/build_artifact_ruby.sh
+++ b/tools/run_tests/build_artifact_ruby.sh
@@ -32,9 +32,6 @@ set -ex
SYSTEM=`uname | cut -f 1 -d_`
cd $(dirname $0)/../..
-if [ "$SYSTEM" == "Darwin" ] ; then
- /bin/bash ./tools/distrib/build_ruby_environment_macos.sh
-fi
set +ex
[[ -s /etc/profile.d/rvm.sh ]] && . /etc/profile.d/rvm.sh
set -ex