Displaying 1 result from an estimated 1 matches for "ntiniti".
Did you mean:
intinit
2005 Dec 18
8
Invoking Rails from an API
...an up after the invocation, assuming multiple rails
app are running on the same server?
3. I understand ruby is unsafe for multithreaded invocation. Is
there a distribution that can handle multiple ruby VMs?
TIA.
--
SS
==SAMPLE CODE==
int main(int argc, char* argv[])
{
#if defined(NT)
NtInitialize(&argc, &argv);
#endif
ruby_init();
ruby_init_loadpath();
//chdir( "" );
::SetEnvironmentVariable( "SCRIPT_NAME", "/MyTest" );
::SetEnvironmentVariable( "REQUEST_URI",
"http://localhost:3000/MyTest#index" );
::SetEnvironmentV...