[Git][noosfero/noosfero][master] 2 commits: only install chartkick gem if It is not installed

Rodrigo Souto gitlab at mg.gitlab.com
Thu Oct 19 13:52:05 BRST 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
aeb4a902 by Leandro Nunes dos Santos at 2017-10-19T11:37:21-03:00
only install chartkick gem if It is not installed

- - - - -
bc2be38c by Rodrigo Souto at 2017-10-19T15:50:53+00:00
Merge branch 'custom-forms-gem' into 'master'

only install chartkick gem if It is not installed

See merge request noosfero/noosfero!1331
- - - - -


1 changed file:

- plugins/custom_forms/install.rb


Changes:

=====================================
plugins/custom_forms/install.rb
=====================================
--- a/plugins/custom_forms/install.rb
+++ b/plugins/custom_forms/install.rb
@@ -2,4 +2,6 @@
 # Check it out: http://download.noosfero.org/debian/
 
 #FIXME The package is not working
-system 'gem install chartkick'
+unless(system 'gem list -i chartkick')
+  system 'gem install chartkick'
+end



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/49c684a3d95b7079ff501a7181cd3251695493f3...bc2be38cf0cdb58bbad8a0e76986a6462c57c459

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/49c684a3d95b7079ff501a7181cd3251695493f3...bc2be38cf0cdb58bbad8a0e76986a6462c57c459
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20171019/6a6a1062/attachment.html>


More information about the Noosfero-dev mailing list