- prep for rbx/mri support

This commit is contained in:
Jordan Sissel 2013-04-23 14:50:54 -07:00
parent f89365ef91
commit 24564c95fc

View file

@ -2,11 +2,16 @@
basedir=$(cd `dirname $0`/..; pwd)
if [ -d "$basedir/.git" ] ; then
export GEM_HOME="$basedir/vendor/bundle/jruby/1.9"
RUBY=${RUBY=jruby}
RUBYVER=1.9
export GEM_HOME="$basedir/vendor/bundle/${RUBY}/1.9"
export GEM_PATH=
fi
export RUBYLIB="$basedir/lib"
echo $GEM_HOME
gem list i18n
which ruby > /dev/null 2>&1
if [ "$?" -eq 0 -a -z "$USE_JRUBY" ] ; then