Skip to content

Commit

Permalink
update ruby version, be more verbose while installing, load .rvmrc th…
Browse files Browse the repository at this point in the history
…e hard way
  • Loading branch information
Raven24 committed May 16, 2012
1 parent ebbbf74 commit bdf7dba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions script/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ D_DB_USER="diaspora"

D_DB_PASS="diaspora"

D_RUBY_VERSION="1.9.2-p290"
D_RUBY_VERSION="1.9.3-p125"

#### INTERNAL VARS ####

Expand Down Expand Up @@ -179,7 +179,7 @@ install_or_use_ruby() {
rvm use $D_RUBY_VERSION >/dev/null 2>&1
if [ $? -ne 0 ] ; then
echo "not ok"
rvm install $D_RUBY_VERSION >/dev/null 2>&1
rvm --force install $D_RUBY_VERSION
else
echo "ok"
fi
Expand All @@ -202,7 +202,8 @@ load_rvmrc() {

# load .rvmrc
echo -n "loading .rvmrc ... "
rvm rvmrc load
source .rvmrc
#rvm rvmrc load
if [ $? -eq 0 ] ; then
echo "ok"
else
Expand Down

0 comments on commit bdf7dba

Please sign in to comment.