10

I get the following error when trying to run a basic "Hello world" application in MacRuby on Xcode 4.4 in OS X 10.8 Mountain Lion:

"macruby.h not found"

How to resolve this problem?

user456584
  • 86,427
  • 15
  • 75
  • 107
  • Probably one of those famous errors Apple enjoys skipping over when releasing major updates and a new OS.. But seriously, I would try a clean install if the one on there isn't already – Jtaylorapps Jul 26 '12 at 21:36

2 Answers2

18

Try adding /Library/Frameworks to the framework search path. Make sure you tick the checkbox as well.

Screenshot

Bo A
  • 3,144
  • 2
  • 33
  • 49
0

Another way to solve this is add a symbolic link in Xcode default searching path for MacRuby.

Open Terminal and insert command:

sudo ln -s /Library/Frameworks/MacRuby.framework \ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/MacRuby.framework

taiansu
  • 2,735
  • 2
  • 22
  • 29