ruby-fcgi on FreeBSD 5.1

C

Carsten Eckelmann

Hi,

I just installed ruby-fcgi on FreeBSD 5.1 from the ports tree. It
installed the version 0.8.4, which should be the newest and freshest.
However apparently the function FCGI.each_cgi is not available in this
version on FreeBSD. I did FCGI.methods from irb and the function was not
there. I looked at the c-source - and the function was not there!

I installed this same version on a Debian Box via apt-get and there
each_cgi exists.

What's happening here?

Confused,
Carsten.
 
S

Shu-yu Guo

However apparently the function FCGI.each_cgi is not available in this
version on FreeBSD. I did FCGI.methods from irb and the function was not
there. I looked at the c-source - and the function was not there!
There is no C version of each_cgi, it says so in a comment in the pure-Ruby
version. See fcgi.rb:423
I installed this same version on a Debian Box via apt-get and there
each_cgi exists.

What's happening here?
Maybe under Debian apt-get didn't build the C extension and you are requiring
the pure Ruby version, which does have a each_cgi method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top