[Radiant] About "couldn't find HOME environment" problem
keita
keita.yamaguchi at gmail.com
Thu Apr 26 00:31:58 CDT 2007
Hi,
Some few people (including me) reported "couldn't find HOME
environment" problem in this ML and trac(for example ticket #500).
Ticket #500 was closed by the reason "This is an issue with your
server setup. It's not a problem with Radiant.", but I don't think so.
I believe this is because
lib/plugins/extension_patches/lib/generator_base_extension.rb does
"require 'rails_generator'". Dispatchers(.cgi, .fcgi and .rb) of
Radiant don't need this file and I think these must not load
rails_generator. The problem happens to people using CGI or Apache(or
Lighttpd)/fast-cgi in most cases because HOME environment is not a
standard CGI metavariable.
I think the solution is that move
lib/plugins/extension_patches/lib/generator_base_extension.rb to
lib/generators/generator_base_extension.rb and load it in
script/generate etc. Is it right? I am not familiar with rails, sorry
if I am wrong.
----
Keita Yamaguchi
More information about the Radiant
mailing list