Note that there are some explanatory texts on larger screens.

plurals
  1. PORVM, FSEvents, and CarbonCore on OS X
    text
    copied!<p>I'm setting up a project that uses SASS, which uses FSEvents to keep from polling the disk. It seems that this doesn't play nice with RVM, however. That means that when I run <code>sass --watch</code> I get this warning:</p> <p><code>Warning: Unable to load CarbonCore. FSEvents will be unavailable.</code></p> <p>I realize that it will still work, but I don't want to be polling my disk constantly. I want to get it working with FSEvents. The best information I could find about this was this thread:</p> <p><a href="http://groups.google.com/group/compass-users/browse_thread/thread/df7d9d0da9ec1eb1" rel="noreferrer">http://groups.google.com/group/compass-users/browse_thread/thread/df7d9d0da9ec1eb1</a></p> <p>I reinstalled my RVM Ruby (using 1.9.2) as described by Brandon Mathis and downloaded the linked RubyCocoa. However, I get an error on the first step of installing RubyCocoa:</p> <pre><code>[rvm 1.9.2] ~/Downloads/RubyCocoa-1.0.0 $ ruby install.rb config --build-universal=yes install.rb: entering config phase... create ext/rubycocoa/extconf.rb create framework/GeneratedConfig.xcconfig create framework/src/objc/Version.h create tests/Makefile ---&gt; framework create /Users/xxx/Downloads/RubyCocoa-1.0.0/framework/src/objc/osx_ruby.h ... config failed hook /Users/xxx/Downloads/RubyCocoa-1.0.0/framework/post-config.rb failed: No such file or directory - /Users/xxx/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/ruby.h try 'ruby install.rb --help' for usage </code></pre> <p>It looks like the problem stems from this being an older version of RubyCocoa (I notice the missing file has 1.9.1 in the path), but in the Google Groups post, Brandon Mathis says specifically to use the version he links and not the newest one.</p> <p>Does anyone know how to get this configured, or have a link to a recent, hopefully simpler and clearer guide to getting FSEvents working with RVM?</p> <p>Versions in question:</p> <ul> <li>RVM 1.2.0</li> <li>Ruby 1.9.2 patch level 136 (installed via RVM)</li> <li>Mac OS X 10.6.6</li> <li>HAML gem 3.0.25 (SASS is part of HAML)</li> </ul> <p>Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload