summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall8
1 files changed, 7 insertions, 1 deletions
diff --git a/install b/install
index 75ade71..fce99dc 100755
--- a/install
+++ b/install
@@ -26,7 +26,7 @@ echo "Backup finished."
. ./utils.sh
-LOG="$OT_PREFIX/tmp/`basename $0`.log"
+check_log `basename $0`
echo
echo "Welcome to base installation for OpenTox compatible services on Ruby and Debian."
echo "IMPORTANT: Hit <Ctrl+C> to adjust config.sh first (<Return> to continue)."
@@ -45,6 +45,7 @@ echo
./rasqal-install # Download, compile and build rasqal. Install to OT_PREFIX.
./4store-install # Download, compile and build 4store. Install to OT_PREFIX.
+check_utils "git"
if [ ! -d ~/.rbenv ]; then
cmd="$GIT clone git://github.com/sstephenson/rbenv.git ~/.rbenv" && run_cmd "$cmd" "rbenv"
else
@@ -59,4 +60,9 @@ fi
[ -f $HOME/.opentox/config/jl_keys.yaml ] || (cmd="cp jl_keys.yaml $HOME/.opentox/config/" && run_cmd "$cmd" "Joelib keys file")
[ -f $OT_TOOLS_CONF ] || (cmd="cp ot-tools-user.sh $OT_TOOLS_CONF" && run_cmd "$cmd" "Created ot-tools (stored in ~/.opentox)")
+
+# Install global ruby version
+. ./utils.sh
+install_ruby global
+
notify