summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
Diffstat (limited to 'opentox-ruby.sh')
-rwxr-xr-xopentox-ruby.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index b4156c5..d3d4c62 100755
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -50,16 +50,18 @@ AA="nil"
mkdir -p "$HOME/.opentox/config"
mkdir -p "$HOME/.opentox/log"
sed -e "s/SERVERNAME/$servername/;s/ESCAPEDSERVERNAME/$escapedservername/;s/LOGGER/$logger/;s/AA/$aa/" production.yaml > $HOME/.opentox/config/production.yaml
-sed -e "s/SERVERNAME/$servername/;s/ESCAPEDSERVERNAME/$escapedservername/;s/LOGGER/$logger/;s/AA/$aa/" aa-$install.yaml >> $HOME/.opentox/config/production.yaml
+sed -e "s/SERVERNAME/$servername/;s/ESCAPEDSERVERNAME/$escapedservername/;s/LOGGER/$logger/;s/AA/$aa/" "aa-local.yaml" >> $HOME/.opentox/config/production.yaml
mkdir -p $WWW_DEST/opentox
cd $WWW_DEST/opentox
$GIT clone "http://github.com/opentox/opentox-ruby.git "
cd opentox-ruby
-$GIT checkout -t "origin/development"
+pwd
+$GIT checkout -t origin/development
$GEM install jeweler
$RAKE install
GEM_LIB=`$GEM which opentox-ruby | sed 's/\/opentox-ruby.rb//'`
+echo "'$GEM_LIB'"
mv "$GEM_LIB" "$GEM_LIB~"
ln -s "$WWW_DEST/opentox/opentox-ruby/lib" "$GEM_LIB"