summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-30 13:25:28 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-30 13:25:28 +0200
commit91154152cdca07690ddd91bb4d0dd686a4c7b5e0 (patch)
treee59b3b8c8ec2bdd91d9fff33d0ade65457dfa785 /opentox-ruby.sh
parentf043da5009a8358df1b33789b288aee3d1cb9c70 (diff)
opentox-ruby
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"