2

After installing Mavericks my Sass stopped compiling with CodeKit. It points me to an error with Breakpoint. I've reinstalled the system and after installing SASS and Compass, the Breakpoint installation keeps giving me this error:

    ERROR:  Error installing breakpoint:
    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.3 for inspection.

What can I do?

PS: I also did the gem update --system before installing Compass.

Thanks!

misspato
  • 31
  • 5
  • You can try to downgrade your Ruby to version 1.9 – Darin Kolev Jan 03 '14 at 12:41
  • I'm using 1.8 in my iMac running OSX 10.8.5 and it started having this same issue as well: ERROR: Error installing breakpoint: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/ffi-1.9.3 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/ffi-1.9.3/ext/ffi_c/gem_make.out – misspato Jan 15 '14 at 12:27
  • This worked for me in OSX Mavericks http://stackoverflow.com/a/22384591/2095051 – Tom Apr 03 '14 at 11:54

1 Answers1

2

I had this error, and was able to fix it by running:

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install breakpoint

Though apparently it can also by fixed by running:

export CFLAGS=-Qunused-arguments; export CPPFLAGS=-Qunused-arguments; sudo gem install breakpoint

Got this from: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]

Community
  • 1
  • 1
CourtDemone
  • 5,772
  • 6
  • 23
  • 25