Skip to content

Instantly share code, notes, and snippets.

@intractable
intractable / main.cpp
Created March 19, 2012 20:25
by-hand linkage against librubinius.a/so
// #include <rubinius/environment.hpp>
#include <vm/environment.hpp>
#include <iostream>
using namespace rubinius;
int main(int argc, char** argv) {
Environment env(argc, argv);
env.setup_cpp_terminate();