keita wrote: > 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.
How does generator_base_extension.rb affect the HOME environment variable? Does the default Rails generator set the HOME environment variable in environment.rb? I don't believe it does. So again this isn't a problem with Radiant. It's a problem with the way your hosting environment is configured. We could certainly add a few lines to environment.rb that were commented out like this: # Depending on how your envoronment is set up you may need to uncomment # the following line and enter the correct path to your home directory: #ENV['HOME'] = '/path/to/your/home/directory' Would this be helpful? -- John Long http://wiseheartdesign.com _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
