Just installed SASS, but can't get its 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
Leon Gaban
Investor, Powerlifter, Crypto investor and global citizen You can also find me here: @leongaban | github | panga.ventures
Updated on June 06, 2022Comments
-
Leon Gaban almost 2 years
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
orsass --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
.)