From 1bbbb3031c47a5b5253e536343d605f8222880d7 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 12:20:25 +0100 Subject: [PATCH] call gem --- scripts/install | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 28ff091..560c929 100644 --- a/scripts/install +++ b/scripts/install @@ -70,12 +70,9 @@ 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 +# Config RVM and force get app deps (for debug) 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'" +sudo su - diaspora -c "cd $final_path; rvm autolibs read-fail ; rvm install 2.0 ; gem install nokogiri -v '1.6.1'; gem install raindrops -v '0.13.0'" # construct diaspora app sudo su - diaspora -c "cd $final_path; RAILS_ENV=production bundle install --without test development"