Skip to content

Instantly share code, notes, and snippets.

@gaffo
Created June 23, 2011 22:39
Show Gist options
  • Save gaffo/1043798 to your computer and use it in GitHub Desktop.
Save gaffo/1043798 to your computer and use it in GitHub Desktop.
puts "Hello, Rubinius!"
#include 'rubinius/embed.h'
main(int argv, char ** argc){
rubinius::context ctx = rbx_create_context();
rbx_eval(ctx, "path/to/hello.rb");
rbx_close_context(ctx);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment