I had the same problem on my environment(apache2/fast-cgi, localhost
and DreamHost) before. I don't know the reason of this(why rails need
to know HOME?), but I could stop the error. Try to add the following
line to the head of config/environment.rb:

ENV['HOME'] = '/home/username'   # change username to yours

----
Keita Yamaguchi



2007/4/25, Andrea Franz <[EMAIL PROTECTED]>:
> Hi all.. i've just tried to install radiant on site5 but I got this
> error:
>
> ../config/../vendor/rails/railties/lib/rails_generator/lookup.rb:
> 33:in `expand_path': couldn't find HOME environment -- expanding
> `~' (ArgumentError)
>          from ../config/../vendor/rails/railties/lib/rails_generator/
> lookup.rb:33:in `user_home'
>          from ../config/../vendor/rails/railties/lib/rails_generator/
> lookup.rb:105:in `use_component_sources!'
>          from ../config/../vendor/rails/railties/lib/rails_generator/
> lookup.rb:53:in `included'
>          from ../config/../vendor/rails/railties/lib/
> rails_generator.rb:38
>          from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
>          from ../config/../vendor/rails/activerecord/lib/../../
> activesupport/lib/active_support/dependencies.rb:495:in `require'
>          from ../config/../vendor/rails/activerecord/lib/../../
> activesupport/lib/active_support/dependencies.rb:342:in
> `new_constants_in'
>          from ../config/../vendor/rails/activerecord/lib/../../
> activesupport/lib/active_support/dependencies.rb:495:in `require'
>           ... 12 levels...
>          from ../config/../vendor/rails/railties/lib/initializer.rb:
> 43:in `run'
>          from ../config/../lib/radiant/initializer.rb:32:in `run'
>          from ./../config/environment.rb:11
>          from dispatch.fcgi:21
>
> Does anybody know what I can do?
> Thank you very much!
>
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to