aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-02-06 02:09:11 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-02-06 02:09:11 +0100
commit4bb713b84daef1b5a2737c004c7f39c26eae3bc1 (patch)
tree94a69d4f08ac81b8ed21c253de2c9e580646cce6 /tools/run_tests
parent700cae3b9eb3559cb52a3f2d6c19f852d565d89b (diff)
Last changes to build_artifact_ruby.sh
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/build_artifact_ruby.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/tools/run_tests/build_artifact_ruby.sh b/tools/run_tests/build_artifact_ruby.sh
index 8033c3157a..69e4dcf85a 100755
--- a/tools/run_tests/build_artifact_ruby.sh
+++ b/tools/run_tests/build_artifact_ruby.sh
@@ -28,12 +28,17 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -ex
+
+SYSTEM=`uname | cut -f 1 -d_`
+
cd $(dirname $0)/../..
+if [ "$SYSTEM" == "Darwin" ] ; then
+ ./tools/distrib/build_ruby_environment_macos.sh
+fi
set +ex
[[ -s /etc/profile.d/rvm.sh ]] && . /etc/profile.d/rvm.sh
set -ex
-SYSTEM=`uname | cut -f 1 -d_`
if [ "$SYSTEM" == "MSYS" ] ; then
SYSTEM=MINGW32
fi
@@ -52,11 +57,9 @@ if [ "$SYSTEM" == "Darwin" ] ; then
set -ex
fi
-if [ "$SYSTEM" == "Linux" ] ; then
- set +ex
- ${SETARCH_CMD} bundle install
- set -ex
-fi
+set +ex
+${SETARCH_CMD} bundle install
+set -ex
${SETARCH_CMD} rake gem:native