From: Sean Chittenden Date: 2002-06-19T15:03:50+09:00 Subject: Re: eRuby on Mac OS X [moving to modruby list] > I've searched ruby-talk for this topic, and the only messages I > found show the same symptoms I'm seeing: mod_ruby and eRuby compile > fine, mod_ruby runs (within Apache), but eRuby doesn't. eRuby runs > fine on the command line, though. > > I have a few more clues that may let someone figure out what may be > wrong. When the line > > RubyRequire apache/eruby-run > > is executed from httpd.conf, these error messages are written to the > file /var/log/httpd/error_log: Interesting... what version of mod_ruby/eRuby are you using? It looks as though eRuby isn't linking against ruby.so or libruby.(so|a). I don't have a copy of OS X around, but I think Shugo does. This sound plausible? -sc > dyld: /usr/sbin/httpd Undefined symbols: > _rb_cObject > _rb_check_type > _rb_data_object_alloc > _rb_define_class_under > _rb_define_method > _rb_define_module > _rb_define_singleton_method > _rb_define_virtual_variable > _rb_eStandardError > _rb_eval_string_wrap > _rb_file_open > _rb_funcall > _rb_gc_mark > _rb_global_variable > _rb_intern > _rb_io_close > _rb_io_gets > _rb_protect > _rb_provide > _rb_raise > _rb_set_kcode > _rb_stdin > _rb_str2cstr > _rb_str_cat > _rb_str_freeze > _rb_str_new > _rb_str_new2 > _ruby_debug > _ruby_show_version > _ruby_top_self > _ruby_verbose > _ruby_xmalloc -- Sean Chittenden