Create  Edit  Diff  FrontPage  Index  Search  Changes  Login

eRubyQuestions

For questions not in the FAQ. Maybe they will be deleted later -- this is a Wiki :-)

I've deletecd my question because it turns out I was being particularly stupid -- I had pointed my browser at the wrong server, which picked up the right files but was not config'd correctly. "Open mouth, insert foot, echo internationally" as they used to say on Fidonet. :-)

eruby.rb?

I'm getting an apache error:

[error] mod_ruby: /usr/local/lib/ruby/1.8/apache/eruby-run.rb:45:in `require': No such file to load -- eruby (LoadError)

that seems reasonable, since indeed, the file is required in eruby-run:

require "eruby"

...but does not exist in /usr/local/lib/ruby/1.8 . So how can one find this file? It seems no answer exists for this on google. I'm running apache 1.3.33.

Answer

You can get eruby from here:

<URL:http://modruby.net/en/index.rbx/eruby/download.html>

Follow Up

It seems that my initial attempts to:

apt-get install eruby

had failed somehow, since this method didn't seem to install the eruby.rb file? Manual installation repaired this.

Much love, eruby team.

eruby.so in liberuby

On Debian, eruby.so (not eruby.rb) is in liberuby.

$ apt-get install liberuby
$ dpkg -L liberuby | grep '/eruby.so'
/usr/lib/ruby/1.8/i386-linux/eruby.so
Last modified:2005/08/03 13:54:31
Keyword(s):
References:[FrontPage]