[rspec-users] RSpec newbie ran rspec 2.4 on WinXP, got HOME undefined

Simon Hafner freakguard at gmail.com
Mon Jan 10 17:39:47 EST 2011

On Monday 10 January 2011 22.37:46 RichardOnRails wrote:
> Hi,
> I'm running WinXP-Pro/SP3 & Ruby 1.8.6
> K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rspec-
> core-2.4.0/lib/rspec/core/configuration_options.rb:9:couldn't find
> HOME environment -- expanding `~' (ArgumentError)
> I checked my environment variables for HOME; it is undefined.

Sounds like rspec is relying on some *NIX stuff here (HOME is usually pointing 
to a users home directory). Google how to set environment variables and set 
HOME to the folder containing your home directory (usually something like 
C:\documents and settings\<user>).

> Any advice would be gratefully received.
> --
> Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110110/a16c1302/attachment.html>

More information about the rspec-users mailing list