Last changes to build_artifact_ruby.sh

pull/5097/head
Nicolas "Pixel" Noble 9 years ago
parent 700cae3b9e
commit 4bb713b84d
  1. 15
      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

Loading…
Cancel
Save