Use Global Gem Install

Durring the setup the "sass" gem is installed. This works fine on Linux operating systems like Ubuntu. However, on some other distrobutions such as Arch Linux "gem install" defaults to the a local folder in the users home directory. When installed here the sass binary is not on the path and coco-brunch cannot find it (and thus crashes with an error). By adding the "--no-user-install" flag we are telling gem to install it globally no matter what the system default is thus fixing this problem.
This commit is contained in:
Rowan Decker 2014-03-29 15:08:55 -05:00
parent 5bcaf2c746
commit 1e2ada7b57

View file

@ -39,4 +39,4 @@ class Ruby(dependency.Dependency):
raise NotImplementedError
def install_gems(self):
gem_install_status = subprocess.call([u"gem",u"install",u"sass"])
gem_install_status = subprocess.call([u"gem",u"install",u"--no-user-install",u"sass"])