Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Iris Avalon
Iris Avalon
14,477 Points

Codekit 2 and Compass

Hello everyone,

I've recently started working on a project and I'm using scss with codekit 2. I'm trying to add compass through Codekit to my project but it constantly pops out an error saying:

Compass failed to run because your Mac has an older version of Sass and/or Compass installed that conflicts with the newer versions in CodeKit. You must remove all versions of Sass below 3.3.rc6 and all versions of Compass below 1.0.alpha18. Do this at the command line by running 'sudo gem uninstall sass' and 'sudo gem uninstall compass'.

I've uninstalled both sass and compass and reinstalled the latest versions again after but codekit still spits out this error.

It's not a huge deal, there is just a compass plugin I wanted to use in my project but I just can't get codekit 2 to play nicely with it.

Any suggestions how to fix this? I saw another post about this on the forums with someone saying that codekit was giving the same problem when using a foundation project. I'm not using foundation though, and the solutions mentioned didn't help me.

Thanks in advanced for the help!

2 Answers

Open CodeKit, press Command + , to open the preferences and then go to the Compilers tab.

Under other tools, you can select Compass. According to the info there, if you use Compass plugins, you'll have to select an external Compass compiler.

Iris Avalon
Iris Avalon
14,477 Points

Oh wow, that worked perfectly! Thanks a lot for the help (: