I know there's severals post about this, but i'm stack
here's my C code
#include </usr/include/ruby-1.9.1/ruby/ruby.h> #include <stdio.h> #include <stdlib.h> int main() { ruby_init(); rb_eval_string("puts 'hello'"); ruby_finalize(); return 0; } i've got the following error when compile it in sublime text 2
In file included from /Users/pierrebaille/Code/Ruby/embedRuby/embedRubyFirst.c:1: /usr/include/ruby-1.9.1/ruby/ruby.h:1481:24: error: ruby/subst.h: No such file or directory [Finished in 0.1s with exit code 1] thanks for your help