I installed SASS from the terminal, just gem install sass
. And I see it says "Successfully installed sass-3.2.9."
However, when I then do sass --version
or sass --v
I get this error:
-bash: sass: command not found
The only thing I can think of is, when I was doing the Git tutorials on Tuts+ I ran into a local vs. global issue or I had to edit a bash_profile file.
This is what is inside the bash_profile file inside my user directory:
export PATH="/usr/local/bin:$PATH"
Any thoughts or tips on why I can't get the version of SASS or Compass I just installed? (I can only get ruby --version
.)
Got the answer! https://superuser.com/questions/600262/error-when-installing-and-trying-to-get-version-of-sass-via-terminal?noredirect=1#comment739892_600262
$ brew --prefix ruby
/usr/local/opt/ruby
$ stat -f%Y /usr/local/opt/ruby
../Cellar/ruby/2.0.0-p0
$ export PATH=/usr/local/opt/ruby/bin:$PATH
$ which sass
/usr/local/opt/ruby/bin/sass
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With