mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- prep for rbx/mri support
This commit is contained in:
parent
f89365ef91
commit
24564c95fc
1 changed files with 6 additions and 1 deletions
|
@ -2,11 +2,16 @@
|
||||||
|
|
||||||
basedir=$(cd `dirname $0`/..; pwd)
|
basedir=$(cd `dirname $0`/..; pwd)
|
||||||
if [ -d "$basedir/.git" ] ; then
|
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=
|
export GEM_PATH=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export RUBYLIB="$basedir/lib"
|
export RUBYLIB="$basedir/lib"
|
||||||
|
echo $GEM_HOME
|
||||||
|
|
||||||
|
gem list i18n
|
||||||
|
|
||||||
which ruby > /dev/null 2>&1
|
which ruby > /dev/null 2>&1
|
||||||
if [ "$?" -eq 0 -a -z "$USE_JRUBY" ] ; then
|
if [ "$?" -eq 0 -a -z "$USE_JRUBY" ] ; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue