Forum: RSpec auto test?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Mano a. (Guest)
on 2009-05-20 09:08
(Received via mailing list)
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?
Scott T. (Guest)
on 2009-05-20 09:14
(Received via mailing list)
Diwakar, ANGLER - EIT wrote:
> 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
Mano a. (Guest)
on 2009-05-20 09:48
(Received via mailing list)
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
Scott T. (Guest)
on 2009-05-20 10:25
(Received via mailing list)
Diwakar, ANGLER - EIT wrote:
>  `initialize'
>         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
Mano a. (Guest)
on 2009-05-20 14:35
(Received via mailing list)
While running autospec I am getting the following error

 LIBMYSQL_.dll was not found and
 core_rl_magick_.dll was not found



What should I do.
Mano a. (Guest)
on 2009-05-20 14:47
(Received via mailing list)
Thanks a lot. It works
How should I run a single file using autospec
This topic is locked and can not be replied to.