Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

define sass version to install when installing compass

Is there a way to define the sass version to install when installing compass with gem install compass ?

Specifying -v would only specify the compass version and not the version of its dependencies..

like image 465
mfreitas Avatar asked Sep 13 '26 13:09

mfreitas


1 Answers

Install Sass first, using the --version / -v flag to specify the version you like. Then install compass afterward, using the --minimal-deps so that it does not also upgrade the Sass gem as a part of installing compass.

gem install sass --version VERSION
gem install compass --minimal-deps

Note that --minimal-deps will upgrade a dependency if the installed version does not meet the dependency requirements.

like image 150
Jay Harris Avatar answered Sep 16 '26 04:09

Jay Harris



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!