summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xopenbabel.sh2
-rw-r--r--test-ob-rb.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/openbabel.sh b/openbabel.sh
index 3257146..1eda925 100755
--- a/openbabel.sh
+++ b/openbabel.sh
@@ -92,6 +92,8 @@ if ! $OB_DONE ; then
cmd="make" && run_cmd "$cmd" "Make"
cmd="cp openbabel.so $OB_DEST_BINDINGS" && run_cmd "$cmd" "Install"
cmd="ln -s $OB_DEST_BINDINGS/openbabel.so $RUBY_DEST/lib/ruby/site_ruby/1.8/`uname -m`-linux/" && run_cmd "$cmd" "Link"
+ . "`pwd`/utils.sh"
+ cmd="ruby ob-test-rb.rb" && run_cmd "$cmd" "Load"
fi
cd "$DIR"
diff --git a/test-ob-rb.rb b/test-ob-rb.rb
new file mode 100644
index 0000000..62fda1e
--- /dev/null
+++ b/test-ob-rb.rb
@@ -0,0 +1 @@
+require 'openbabel'