07/05/16 01:04:55
>>336
こういうことでしょうか?
#include "stdafx.h"
#include <ruby.h>
#pragma comment(lib, "msvcr80-ruby18.lib")
int main (int argc, char **argv)
{
ruby_init ();
ruby_init_loadpath();
rb_eval_string("require 'test'");
/*
rb_eval_string("require 'net/http'");
rb_eval_string("Net::HTTP.get_print 'www.ruby-lang.org', '/index.html'");
*/
return 0;
}