From b7415e62c4f8c73590afa90c87fed2d5478bf821 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Tue, 27 Mar 2012 11:01:16 +0200 Subject: Fixed OB bindings ruby version --- bin/algorithm-install | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/algorithm-install b/bin/algorithm-install index 77cb3d3..3bdb6c8 100755 --- a/bin/algorithm-install +++ b/bin/algorithm-install @@ -64,6 +64,7 @@ install_ob_ruby() { SRC_DIR=$(dirname $(find $OT_PREFIX -name openbabel-ruby.cpp)) [ -d "$SRC_DIR" ] || (echo "Sources not found." 1>&2 && exit 1) cd $SRC_DIR + cmd="$RBENV local $RUBY_VER" && run_cmd "$cmd" "Configure Ruby" sed -i 's/Init_OpenBabel/Init_openbabel/g' openbabel-ruby.cpp # apply fix RUBY=`which ruby` cmd="$RUBY extconf.rb --with-openbabel-include=../../include --with-openbabel-lib=../../src/.libs" && run_cmd "$cmd" "Extconf ruby bindings" -- cgit v1.2.3