search for: ruby_module

Displaying 3 results from an estimated 3 matches for "ruby_module".

2008 Sep 04
1
actionmailer sends from commandline but not from web
...-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org" subject "subject" body "body" end end Emailer.deliver_test() ------------------------- I''m running Apache 2.2, and this is what my ruby.conf file for it looks like: ------------------------- LoadModule ruby_module modules/mod_ruby.so <IfModule mod_ruby.c> RubyRequire apache/ruby-run RubyRequire apache/eruby-run <Files *.rb> SetHandler ruby-object RubyHandler Apache::RubyRun.instance </Files> <Files *.erb> SetHandler ruby-object RubyHandler Apache::ERubyRun....
2006 Jun 30
2
Eruby.import -> "uninitialized constant" error
...):001:0> require "eruby" => true irb(main):002:0> Eruby.import "/var/www/html/somedirectory/somefile.rhtml" NameError: uninitialized constant Eruby from (irb):2 from :0 6) here''s the relavent section in my httpd.conf: LoadModule ruby_module /usr/lib/httpd/modules/mod_ruby.so # ClearModuleList # AddModule mod_ruby.c <IfModule mod_ruby.c> RubyRequire apache/ruby-run # Execute *.rbx files as Ruby scripts <Files *.rbx> SetHandler ruby-object RubyHandler Apache::RubyRun.instance </Files> RubyRequire apac...
2005 Dec 14
14
Install problems: R-o-R on Debian with mod_ruby
...p just the source code, the same with an index.rbx . At this point I would believe apache expected something like a: ''AddType application .. .rb'' (or .rbx ..) in a place like /etc/apache2/mods-enabled/ruby.conf . Now ruby.load exists there and works as we have seen (LoadModule ruby_module ..) - but not ruby.conf. Should this be added manually (alternatively in apache2.conf)? Or does rails (on Debian) have a different way to configure apache2 to understand what to do with .rb (or whatever ruby-)files? Or maybe the Debian ''rails'' package is not meant to be installe...