1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00
This commit is contained in:
Développeur égaré 2015-02-18 12:20:25 +01:00
parent 892c40a845
commit 1bbbb3031c

View file

@ -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" 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; 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" 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'"
# 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'"
# construct diaspora app # construct diaspora app
sudo su - diaspora -c "cd $final_path; RAILS_ENV=production bundle install --without test development" sudo su - diaspora -c "cd $final_path; RAILS_ENV=production bundle install --without test development"