I finally managed to get mod_ruby and eRuby working on OS X. I never had a
problem getting mod_ruby running, but when I tried enabling eRuby in my
httpd.conf file, apache couldn’t restart because it couldn’t find a bunch
of “rb_” symbols.
I a m running OS X v10.2.4. Here’s what I think I did:
Compile ruby 1.6.8 using configure flag --enable-shared. Install it.
Compile mod_ruby using configure flags --enable-eruby --with-apxs
–enable-shared.
While compiling mod_ruby, I think it asked me to run ranlib on some
library. I did so and re-ran make, then installed mod_ruby.
Compile eRuby using configure flag --enable-shared. Install it.
Are there warnings on duplicate Ruby symbols in your Apache’s error_log
(I set log level to info in my httpd.conf). This is the only thing I
have left to resolve on my system. Everything works fine, though. Just
a bunch of warnings that I would like to get rid of.
Gennady.
···
On Wednesday, February 26, 2003, at 07:37 PM, Jim Menard wrote:
I finally managed to get mod_ruby and eRuby working on OS X. I never
had a
problem getting mod_ruby running, but when I tried enabling eRuby in my
httpd.conf file, apache couldn’t restart because it couldn’t find a
bunch
of “rb_” symbols.
I a m running OS X v10.2.4. Here’s what I think I did:
Compile ruby 1.6.8 using configure flag --enable-shared. Install it.
Compile mod_ruby using configure flags --enable-eruby --with-apxs
–enable-shared.
While compiling mod_ruby, I think it asked me to run ranlib on some
library. I did so and re-ran make, then installed mod_ruby.
Compile eRuby using configure flag --enable-shared. Install it.
Are there warnings on duplicate Ruby symbols in your Apache’s error_log
(I set log level to info in my httpd.conf). This is the only thing I
have left to resolve on my system. Everything works fine, though. Just
a bunch of warnings that I would like to get rid of.
Are there warnings on duplicate Ruby symbols in your Apache’s error_log
(I set log level to info in my httpd.conf). This is the only thing I
have left to resolve on my system. Everything works fine, though. Just
a bunch of warnings that I would like to get rid of.
No, I’m not seeing any warnings.
No warning, but I haven’t mucked with the log level at all.
Sorry to follow up to my own post.
Jim
···
–
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
“Mind you, deep in the IBM VM operating system source we once found a
comment that said ‘remember to collect laundry on way home’.”
– Alan J. Flavell in comp.lang.perl.misc