Run Compass/SASS with a different version
Asked Answered
P

3

5

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.

Protege answered 19/11, 2012 at 13:33 Comment(0)
A
6

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.)

Amphiarthrosis answered 15/3, 2013 at 13:0 Comment(0)
C
4

The tool you're looking for is probally rvm which allows you to have different versions of ruby/gems installed and easily switch between them.

Councillor answered 19/11, 2012 at 13:39 Comment(1)
...and then there is pik for all the happy windows users out there.Drool
G
0

Perhaps there's a simpler way. If you can use something like Codekit or Livereload, those tools allow you to used embedded sass libraries or define your own.

That you could use the builtin libraries for one project and your custom ones for other projects.

RVM suggested above also works i believe but never tried myself.

Garvy answered 24/11, 2012 at 17:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.