This is really stupid but I've been Googling for an hour now and can't find the answer.
I'm on Ubuntu 10.10, and I'm trying to update to the latest version of SASS so that I can use an @import
rule inside an @media
rule.
As suggested here; https://github.com/nex3/sass/issues/64, I tried:
$ sudo gem install sass --pre
And that seemed to work fine:
Successfully installed sass-3.2.0.alpha.35
1 gem installed
But when I try $ sass -v
I get: Haml/Sass 3.0.9 (Classy Cassidy)
which is the old version I had before updating.
What am I doing wrong?
$ which gem
/usr/bin/gem
$ which sass
/usr/bin/sass
Tried the answer:
$ sass -v
Haml/Sass 3.0.9 (Classy Cassidy)
$ sudo gem uninstall -Iax sass
Removing sass
Removing sass-convert
Removing scss
Successfully uninstalled sass-3.2.0.alpha.35
$ sass -v
Haml/Sass 3.0.9 (Classy Cassidy) (Was expecting an error here)
$ sudo gem install sass --pre
Successfully installed sass-3.2.0.alpha.35
1 gem installed
Installing ri documentation for sass-3.2.0.alpha.35...
Installing RDoc documentation for sass-3.2.0.alpha.35...
$ sass -v
Haml/Sass 3.0.9 (Classy Cassidy)
So it removes the one I successfully installed and leaves the one that actually gets used when I run the sass
command. Thougts?