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 trialJoseph Szoke
15,087 PointsCompass won't download.. ?
Hi all,
I have been trying to install Compass all morning and have spent most of it reading the forums to find the answer but I have reached the end point of not being able to figure it out.. Thanks in advance for any help!!
I have a rather new Mac desktop (year old). I downloaded the new OS this morning because it wouldn't let me download the new Xcode. So that just finished and tried to "sudo gem install compass" and it spits back this:
Fetching: sass-3.4.5.gem (100%) Successfully installed sass-3.4.5 Fetching: multi_json-1.10.1.gem (100%) Successfully installed multi_json-1.10.1 Fetching: compass-core-1.0.1.gem (100%) Successfully installed compass-core-1.0.1 Fetching: compass-import-once-1.0.5.gem (100%) Successfully installed compass-import-once-1.0.5 Fetching: chunky_png-1.3.1.gem (100%) Successfully installed chunky_png-1.3.1 Fetching: rb-fsevent-0.9.4.gem (100%) Successfully installed rb-fsevent-0.9.4 Fetching: ffi-1.9.6.gem (100%) Building native extensions. This could take a while... ERROR: Error installing compass: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.6 for inspection. Results logged to /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.6/ext/ffi_c/gem_make.out
Any insight would be greatly appreciated! Compass looks fun and worth it when dealing with Sass.. and beyond!
Thanks, Joe
2 Answers
Joseph Szoke
15,087 PointsFigured it out..
-Joe
Joseph Szoke
15,087 PointsIt was a journey!
I had a year old or so apple desktop so the Xcode needed to be updated which can be from the App Store or iTunes. The trick though is you have to open Xcode up and accept their terms and conditions before it will download. This doesn't pop up so you have to find it in your applications. You should be able to search.
Next make sure all of your programs are up to date esp sass. A quick google search will teach you how and what to update.
This worked for me!
Good luck.
Joe
Angela Dimler
7,969 PointsAngela Dimler
7,969 PointsHow?!!! Please, tell me. I'm having the same problem.