Hello all. I'm fairly new to Ruby/mod_ruby and while running a few
tests I have run into this error:

------------------------------------------------------------------------------
/home/http2/public_html/randomimg.rhtml:7: undefined method
`document_root' for #<Apache::Request:0x403f9cb8> (NoMethodError)
from (eval):53
from /usr/local/lib/ruby/1.8/apache/eruby-run.rb:116:in
`eval_string_wrap'
from /usr/local/lib/ruby/1.8/apache/eruby-run.rb:116:in `run'
from /usr/local/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler'
------------------------------------------------------------------------------

Isn't document_root a valid method for the Apache request object?
Greatly appreciate any feedback. Thanks!