From: A LeDonne Date: 2006-05-22T23:01:06+09:00 Subject: Re: Payment Gem error On 5/21/06, Robert MannI wrote: > 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. > Try using a full path name (like "/home/username/.payment.yml"), rather than something with a tilde (~). -A