From: Jack Dempsey Date: 2001-12-15T08:05:23+09:00 Subject: [ruby-talk:28551] Re: internal server errors HI Alan, thanks for the help on this...the rhtml file was the simple foo.rhtml file in the examples of eruby..if i say: eruby foo.rhtml from the command line, i get the correct output of 'foo' the recompiling thing hasn't worked so well....any other suggestions? why woudl it work fromthe command line, but not through apache? think its not finding includes, etc? Alan Chen wrote: > You are, of course, free to recompile. But what what in the rhtml > file that you were trying to access? > > On Sat, Dec 15, 2001 at 07:22:57AM +0900, Jack Dempsey wrote: > > this is from the error_log > > > > [Fri Dec 14 17:32:28 2001] [error] mod_ruby: error in ruby > > /usr/lib/ruby/1.6/apache/eruby-run.rb:84:in `compile': undefined method > > `sourcefile=' for # (NameError) > > from /usr/lib/ruby/1.6/apache/eruby-run.rb:83:in `open' > > from /usr/lib/ruby/1.6/apache/eruby-run.rb:83:in `compile' > > from /usr/lib/ruby/1.6/apache/eruby-run.rb:68:in `handler' > > from ruby:0 > > > > going to try to compile and install fresh again... > > > > Alan Chen wrote: > > > > > I think we need more information. > > > > > > Look in the apache error log (or send us the appropriate entry in the log). > > > It may also help to share your .rhtml file with us. > > > > > > -- alan > > -- > Alan Chen > Digikata LLC > alan@digikata.com > http://digikata.com