Install ruby fcgi on Ruby 1.9.1

1) Download ruby fcgi source code manually

2) Replace in fcgi.c in following way:

RARRAY(ary)->len
=> RARRAY_LEN(ary)
RARRAY(ary)->ptr
=> RARRAY_PTR(ary)
RTRING(str)->len
=> RSTRING_LEN(str)
RSTRING(str)->ptr
=> RSTRING_PTR(str)

3) Compile and install

你可能感兴趣的:(C++,c,C#,Ruby)