Vvv: New VVV Box Can't Install Sass

Created on 3 May 2016  路  4Comments  路  Source: Varying-Vagrant-Vagrants/VVV

I've tried installing SASS many times in a new VVV box, using the command sudo gem install sass, but when I try sass -v afterward I get an erro saying that sass could not be found.

question

Most helpful comment

Hey guys @rwrobe @ivcreative
Most likely the problem is that you don't have the gems folder in your PATH, your set up may vary from mine because I updated the bundled ruby version but I think my solution will work for you as well.

Simply go to the .bashrc file on your home folder (or do cd ~/ && vim .bashrc from anywhere, easy) and add the following:
export PATH="/var/lib/gems/1.9.1/gems/sass-3.4.22/bin:$PATH"

Of course your ruby or sass versions may vary as well, be on the lookout for that
Also you may have to logout and log back in for it to work

Cheers!

All 4 comments

Same here also hope they make this VVV an updated version with apache

What does sass have to do with Apache? We use nginx which also has nothing to do with sass/ruby

Hey guys @rwrobe @ivcreative
Most likely the problem is that you don't have the gems folder in your PATH, your set up may vary from mine because I updated the bundled ruby version but I think my solution will work for you as well.

Simply go to the .bashrc file on your home folder (or do cd ~/ && vim .bashrc from anywhere, easy) and add the following:
export PATH="/var/lib/gems/1.9.1/gems/sass-3.4.22/bin:$PATH"

Of course your ruby or sass versions may vary as well, be on the lookout for that
Also you may have to logout and log back in for it to work

Cheers!

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings