phone 983-651-5611
Home > Failed To > Failed To Require Apache/eruby-run

Failed To Require Apache/eruby-run

I assume you're using apache mpm prefork as it's still in the howtos?Click to expand... make: *** [clean] Error 1 Also log file: my os is: Code: # lsb_release -a No LSB modules are available. however, after reading various threads on the (recommended by several people here) MARC ( list, i was curious about learning some new things like: cgi fastcgi lighttpd ruby which came up Can anyone help?

i've also checked the mailing >> list archives, and everything *appears* to be setup correctly. Samson: At A Crossroads How can I count the number of sleeping processes in my system? i get the following error : [Wed Apr 30 16:52:49 2008] [error] mod_ruby: from /opt/local/lib/ruby/1.8/apache/eruby-run.rb:45 [Wed Apr 30 16:52:49 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g DAV/2 mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming Now i would like to install passenger and help me to change template for ruby can enabled and disabled as a feature.

I'll give an update after doing some experiments with the template files. Contact information - E-Mail: webmaster (at) ruby-forum (dot) com. Maybe your install didn't go so well. So I assume running ruby files as CGI might be the only option to use custom headers.

i know > i'm missing something - i just can't find it. > > thanks! > sean > > Kent Sibilev, Aug 9, 2004 #2 Advertisements Sean C. Code: a2enmod ruby rm /etc/apache2/mods-enabled/ruby.conf Edit your /usr/local/ispconfig/server/conf/vhost.conf.master Code: # Replace Options +ExecCGI RubyRequire apache/ruby-run #RubySafeLevel 0 AddType text/html .rb AddType Tutorial Info Author: falko Tags: errors Share This Page Tweet Xenforo skin by Xenfocus Contact Help Imprint Tutorials Top RSS-Feed Terms Howtoforge © projektfarm GmbH. Edit: whopsy the following will not work unless you install/enable eRuby - my fault.

LoadModule ruby_module /usr/local/apache/libexec/ #####note: this needs to be /usr/lib/apache/modules/ # # If ClearModuleList is used in your httpd.conf, you should use AddModule # # to activate the ruby module. # AddModule vi /etc/httpd/conf.d/ruby.conf ... Thanks, Report post Edit Delete Reply with quote Re: Problem with eRuby Mat Schaffer (Guest) on 2006-06-21 14:49 On Jun 20, 2006, at 4:17 PM, Firman Wandayandi wrote: >> > executed, Ruby Ruby Ruby on Rails JRuby Ruby Jobs About this forum Ruby-Forum Non-English Italian Ruby Group Forum: Ruby Problem with eRuby Forum List Topic List New Topic Search Register User

the RubyRequire apache/ruby-run causes no problems when i start apache, but when i try RubyRequire apache/eruby-run (which i need, i presume, to run the embedded .rhtml files) i get error messages How can I set up a password for the 'rm' command? Forum List Topic List New Topic Search Register User List Log In Powered by RForum and Captchator. sean > On Aug 9, 2004, at 3:02 PM, Sean C.

Please set them or make sure they are set and tested correctly in the CMake files: RUBY_INCLUDE_PATH (ADVANCED) used as include directory in directory /usr/local/src/mod_ruby/mod_ruby-master/src used as include directory in directory I don't know how ruby or mod_ruby get their pathing information. See also "/usr/local/src/mod_ruby/mod_ruby-master/CMakeFiles/CMakeOutput.log"., Mar 14, 2016 #12 Active Member Update2: Ok, I did make it work - however I can't see how it supports custom headers, so probably these won't work.

Browse other questions tagged ruby apache eruby or ask your own question. weblink i should mention eruby is working well from command line and i've verified the symlink : ~%> ls -al /opt/local/apache2/cgi-bin/eruby lrwxr-xr-x 1 root admin 20 28 avr 11:50 /opt/local/apache2/cgi-bin/eruby -> /opt/local/bin/eruby here's the apache error: "mod_ruby: error in ruby\n(eval):45: (eval):45: uninitialized constant Apache::ERubyRun (NameError)\n\tfrom (eval):45:in `value'\n" here are the relevant portions of my apache config: LoadModule ruby_module /usr/lib/apache/ RubyRequire apache/ruby-run RubyRequire apache/eruby-run To be honest, I really don't know why - config looks great and appearently your mod_ruby is beeing loaded.

Just because apache will fix your incorrect output, doesn't mean you should go ahead and write CGIs that way and rely on webservers to fix it for you. John « Return to openbsd user - misc | 1 view|%1 views Loading... Sean C. navigate here In the real world I don't know a single HTTP server which is that intolerant, including my own webserver.

More information about this error may be available in the server error log." Error log says: [Sat Jan 22 17:56:07 2011] [error] [client ::1] (8)Exec format error: exec of 'Dir/cgi-bin/test.rhtml' failed I'm not sure I would trust it though, its had some really dumb security problems in the past, and they haven't been particularly upfront about it. Page 1 of 2 1 2 Next > minttux Member i enable ruby and i have this in my virtualhost: Code: Options +ExecCGI RubyRequire apache/ruby-run #RubySafeLevel

I know I forgot > it the first time around: > No such eruby.rb/so/dll here. > RubyRequire apache/ruby-run > RubyRequire apache/eruby-run > RubyRequire apache/eruby-debug (optional) > Yes, those all already in

How can you say it's loaded? Nay other method would require to make a few changes and let the ruby app run / listen on an interface/port which is assumingly not what you want. Anyway, the main difference should be the installation process, which seems to be easy in ubuntu since it's already described on the projects page On Ubuntu, you can build as For example in a sh script: #!/bin/sh echo "Content-Type: text/html" echo "" echo "I'm sorry Dave, I'm afraid I can't do that." The empty echo represents a second \n which signals

You are going to need to copy the entire ruby module directory. Your name or email address: Do you already have an account? You wouldn't be able to process the forms data of course, but we are just making sure the printing part is working. his comment is here i know >> i'm missing something - i just can't find it. >> >> thanks! >> sean >> >> > > > Sean C.

it certainly seems like a good idea! By default, it runs 5 under low loadings. I know I forgot it the first time around: RubyRequire apache/ruby-run RubyRequire apache/eruby-run RubyRequire apache/eruby-debug (optional) -Mat Report post Edit Delete Reply with quote Re: Problem with eRuby Firman Wandayandi (Guest) I've configured the browser to not use a cache at all (to try and eliminate caching effects) yet it still fails in this manner.

The error message you get "Premature end of script headers" means that the HTTP header generated by your CGI is not correct. Or in the vhost error log when trying to execute the file? Apache2 mod_ruby and eruby Yvon Thoraval yvon.thoraval at Fri May 2 10:09:13 PDT 2008 Previous message: [Ticket #13686] Octave Portfile upgrade and maintainership Next message: Apache2 mod_ruby and eruby Messages sean Sean C.

but it's not inside tutorial and then how to? You need >at least to tell the webserver what content type your CGI generates >before sending any further data. You'll be able to ask questions about coding or chat with the community and help others.