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:innew’
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:inload’
from c:/ruby/bin/autotest:19
How should I resolve the above issue and run autospec command?
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:innew’
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:inload’
from c:/ruby/bin/autotest:19
How should I resolve the above issue and run autospec command?
sudo gem update ZenTest
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:ininitialize’
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:inrun’
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