From: David Craine Date: 2005-01-19T05:41:58+09:00 Subject: trouble with ruby_options() on win32 and ruby 1.8.2 I'm trying to embed ruby into a win32 application; however, when calling the ruby_options() method my process simply hangs. I am trying to use ruby_options() to pass the -C argument to ruby to set the current directory. My code looks like this: UINT launchRuby() { char *argv[3] = { "ruby", "-C..\\Release", "test.rb" } ruby_init(); ruby_options(3, argv); ruby_run(); } My program compiles and links properly; however, when I run it it just hangs right after the ruby_options() call (I've integrated some diagnostic code to determine this). This same technique worked fine on OSX, so I'm wondering if there is some issue with the Windows platform.