Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run Compass/SASS with a different version

I am trying to find a nice solution working on two different compass projects. One is based off Compass using Blueprint (older version), and the other is based on susy grid (newer version).

Currently, I have to reinstall the right version for the watch process.

Is it possible to run compile with a specified version? It would be great if it is also possible to run a watch process with a specified version.

like image 940
YeppThat'sMe Avatar asked Nov 19 '12 13:11

YeppThat'sMe


People also ask

How do I install a specific version of sass?

You can install Sass globally using npm install -g sass which will provide access to the sass executable. You can also add it to your project using npm install --save-dev sass .

Can you use sass without Ruby?

Sass was originally written for Ruby, but now they've created libSass which is a C/C++ port of the Sass engine, which makes it easier to integrate the engine into an IDE or another language. At this point, you can use the Sass engine in Ruby, Node. js, Python, PHP, Java, . NET and others.

How to check sass version in cmd?

To check the version, run the command: sass –version. The latest version is 1.49.


1 Answers

Running it as

compass _0.10.5_ compile

will do what you want. (Where you put in the desired version in place of 0.10.5, obviously.)

like image 189
Colman Avatar answered Sep 22 '22 13:09

Colman