[rspec-users] auto test?

Scott Taylor scott at railsnewbie.com
Wed May 20 01:58:02 EDT 2009


Diwakar, ANGLER - EIT wrote:
>  
>
> I am still getting the same error
>
> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-4.0.0/lib/autotest.rb:194:in
> `expand_path
> ': couldn't find HOME environment -- expanding `~/.autotest'
> (ArgumentError)
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-4.0.0/lib/autotest.rb:194:in
>  `initialize'
>         from ./vendor/plugins/rspec/lib/autotest/rspec.rb:23:in
> `initialize'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-4.0.0/lib/autotest.rb:138:in
>  `new'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-4.0.0/lib/autotest.rb:138:in
>  `run'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-4.0.0/bin/autotest:55
>         from c:/ruby/bin/autotest:19:in `load'
>         from c:/ruby/bin/autotest:19
>   

I haven't used Windows in a few years, but some simple googling turned 
up this:

http://dirk.net/2008/01/30/autotest-rails-on-windows/

Scott

>
> -----Original Message-----
> From: rspec-users-bounces at rubyforge.org
> [mailto:rspec-users-bounces at rubyforge.org] On Behalf Of Scott Taylor
> Sent: Wednesday, May 20, 2009 10:39 AM
> To: rspec-users
> Subject: Re: [rspec-users] auto test?
>
> Diwakar, ANGLER - EIT wrote:
>   
>> I am new to rspec
>>  
>> I am using ZenTest gem. I ran the autospec from the root directory.
>>  
>> I am getting the below error.
>>  
>> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:190:in
>> `expand_path': couldn't find HOME environment -- expanding 
>> `~/.autotest' (ArgumentError)
>>         from
>> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:190:in
>> `initialize'
>>         from
>> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:136:in
>>     
> `new'
>   
>>         from
>> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:136:in
>>     
> `run'
>   
>>         from
>>     
> c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/bin/autotest:55
>   
>>         from c:/ruby/bin/autotest:19:in `load'
>>         from c:/ruby/bin/autotest:19
>>  
>> How should I resolve the above issue and run autospec command?
>>     
> sudo gem update ZenTest
>
> Scott
>
>   
>> ----------------------------------------------------------------------
>> --
>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>     
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>   



More information about the rspec-users mailing list