Created
June 23, 2011 22:39
-
-
Save gaffo/1043798 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Hello, Rubinius!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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