I'm trying to make the most of the latest SASS 3.4 features but can't seem to update the gem.
When I type in terminal on OSX 10.9.4:
sass -v
I get the following response:
Sass 3.2.10 (Media Mark)
When I type:
gem update sass
I get:
Nothing to update
Am I missing something here?
This was retweeted by @StuRobson and seen by @ScottKellum who kindly told me that SASS does need to be updated manually, and that typing sudo gem update into the Terminal would update all of my gems at once. Or if I just wanted to update SASS then typing sudo gem update sass would be the way to go.
I’ve since found a useful command that lets you check which version of SASS you’re running, by typing sass -v into the Terminal. Hopefully this will save some of you the time it took me to find out how to update SASS, but feel free to leave a comment if you’ve got any better ways of doing it.
You can download most of the applications for free but a few of them are paid apps (and totally worth it). When you install Sass on the command line, you'll be able to run the sass executable to compile .sass and .scss files to .css files. For example:
When you install Sass on the command line, you'll be able to run the sass executable to compile .sass and .scss files to .css files. For example: First install Sass using one of the options below, then run sass --version to be sure it installed correctly. If it did, this will include 1.43.5.
Try install and cleanup:
// will install last version
gem install sass
// will delete old versions
gem cleanup sass
After this reinstall the latest version of compass
// will install last version
gem install compass
// will delete old versions
gem cleanup compass
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