Hi!
I’m getting this error when trying to initialize Payment::AuthorizeNet
couldn’t find HOME environment – expanding ~/.payment.yml' /usr/local/lib/ruby/gems/1.8/gems/payment- 1.0.1/lib/payment/base.rb:21:in
expand_path’
Any ideas what this could be?
The payment source code that throws the error is:
prefs = File.expand_path(options[:prefs] || “~/.payment.yml”)
Executing File.expand_path("~/.payment.yml") in IRB works fine.
Any ideas? Thank alot…
Rob