Friday, May 3, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5690  / 3 Years ago, fri, november 12, 2021, 4:39:40

I want to compile a sass file but whenever I run this command:



$ compass compile
compass: command not found


And I tried to install compass by this command:



$ sudo gem install sass compass --pre --no-ri --no-rdoc
Successfully installed sass-3.3.0.alpha.121
ERROR: Error installing compass:
compass requires sass (~> 3.2.5, runtime)
1 gem installed


and when I check the version of sass by sass -v it shows Haml/Sass 2.2.17.



so what should I do now ?


More From » software-installation

 Answers
3

Install compass with the package manager.



ruby-compass is in the universe repository, so make sure you have a



deb http://<your-server>/ubuntu/ <your-ubuntu-version> universe


line in your /etc/apt/sources.list



Next run:



sudo apt-get update; apt-get install ruby-compass


See also https://help.ubuntu.com/community/Repositories/Ubuntu


[#31724] Saturday, November 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ellter

Total Points: 311
Total Questions: 111
Total Answers: 117

Location: Lithuania
Member since Thu, Jul 14, 2022
2 Years ago
;