From 892c40a845bf26cf40bbe97c9346e96fe9907fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A9veloppeur=20=C3=A9gar=C3=A9?= <97802n@mac97802n.maif.local> Date: Wed, 18 Feb 2015 11:34:33 +0100 Subject: [PATCH] correction exec gem --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f6994c2..28ff091 100644 --- a/scripts/install +++ b/scripts/install @@ -71,7 +71,8 @@ sudo chown -R diaspora:diaspora $final_path sudo su - diaspora -c "echo '[[ -s \"$HOME/.rvm/scripts/rvm\" ]] && source \"$HOME/.rvm/scripts/rvm\"' >> ~/.bashrc" # Config RVM -sudo su - diaspora -c "curl -sSL https://rvm.io/mpapis.asc | gpg --import - ; curl -L dspr.tk/1t | bash ; rvm install 2.0" +sudo su - diaspora -c "cd $final_path; curl -sSL https://rvm.io/mpapis.asc | gpg --import - ; curl -L dspr.tk/1t" +sudo su - diaspora -c "cd $final_path; rvm autolibs read-fail ; rvm install 2.0" # force get app deps (for debug) sudo su - diaspora -c "cd $final_path; gem install nokogiri -v '1.6.1'; gem install raindrops -v '0.13.0'"