Skip to content

Instantly share code, notes, and snippets.

@dipil-saud
Created August 13, 2012 06:13
Show Gist options
  • Save dipil-saud/3337366 to your computer and use it in GitHub Desktop.
Save dipil-saud/3337366 to your computer and use it in GitHub Desktop.
RVM
rvm install 1.9.3-p194 --with-gcc=clang
Fixes this error In Mac:
```
In file included from ./include/ruby/ruby.h:64,
from ./include/ruby.h:32,
from main.c:13:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
In file included from ./include/ruby/intern.h:32,
from ./include/ruby/ruby.h:1382,
from ./include/ruby.h:32,
from main.c:13:
/usr/include/varargs.h:4:26: error: varargs.h: No such file or directory
make: *** [main.o] Error 1
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment