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
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