ruby - Typing "guard" gives an exception -
i'm trying learn guard using jeffrey way's book, having issues when guard
. although followed guides without making mistake.
c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3>guard 18:41:48 - info - guard using terminaltitle send notifications. 18:41:48 - info - running tests php fatal error: call undefined method phpunit_framework_testresult::allcompletlyimplemented() in c:\railsinstaller\ruby1.9.3\lib\ruby\gems\1.9.1\gems\guard-phpunit-0.1.4\lib\guard\phpunit\formatters\phpunit-progress\phpunit\extensions\progress\resultprinter.php on line 250 php stack trace: php 1. {main}() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\composer\bin\phpunit:0 php 2. phpunit_textui_command::main() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\composer\bin\phpunit:63 php 3. phpunit_textui_command->run() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\phpunit\textui\command.php:129 php 4. phpunit_textui_testrunner->dorun() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\phpunit\textui\command.php:176 php 5. phpunit_extensions_progress_resultprinter->printresult() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\phpunit\textui\testrunner.php:355 php 6. phpunit_extensions_progress_resultprinter->printfooter() c:\railsinstaller\ruby1.9.3\lib\ruby\gems\1.9.1\gems\guard-phpunit-0.1.4\lib\guard\phpunit\formatters\phpunit-progress\phpunit\extensions\progress\resultprinter.php:72 18:41:48 - info - . > [#e489c62f50b0] > [#e489c62f50b0] finished in 52 ms > [#e489c62f50b0] > [#e489c62f50b0] fatal error: call undefined method phpunit_framework_testresult::allcompletlyimplemented() in c:\railsinstaller\ruby1.9.3\lib\ruby\gems\1.9.1\gems\guard-phpunit-0.1.4\lib\guard\phpunit\formatters\phpunit-progress\phpunit\extensions\progress\resultprinter.php on line 250 > [#e489c62f50b0] > [#e489c62f50b0] call stack: > [#e489c62f50b0] 0.0007 235072 1. {main}() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\composer\bin\phpunit:0 > [#e489c62f50b0] 0.0044 556064 2. phpunit_textui_command::main() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\composer\bin\phpunit:63 > [#e489c62f50b0] 0.0044 561304 3. phpunit_textui_command->run() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\phpunit\textui\command.php:129 > [#e489c62f50b0] 0.0359 2805856 4. phpunit_textui_testrunner->dorun() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\phpunit\textui\command.php:176 > [#e489c62f50b0] 0.0521 3267312 5. phpunit_extensions_progress_resultprinter->printresult() c:\users\imaqtpie\desktop\laraveltestingdecoded\chapter3\vendor\phpunit\phpunit\phpunit\textui\testrunner.php:355 > [#e489c62f50b0] 0.0521 3267632 6. phpunit_extensions_progress_resultprinter->printfooter() c:\railsinstaller\ruby1.9.3\lib\ruby\gems\1.9.1\gems\guard-phpunit-0.1.4\lib\guard\phpunit\formatters\phpunit-progress\phpunit\extensions\progress\resultprinter.php:72 18:41:48 - info - guard watching @ 'c:/users/imaqtpie/desktop/laraveltestingdecoded/chapter3' c:/railsinstaller/ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- wdm (loaderror) c:/railsinstaller/ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/adapter.rb:207:in `load_dependent_adapter' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/adapters/windows.rb:33:in `load_dependent_adapter' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/adapter.rb:198:in `usable?' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/adapters/windows.rb:25:in `usable?' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/adapter.rb:190:in `usable_and_works?' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/adapter.rb:57:in `block in select_and_initialize' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/adapter.rb:55:in `each' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/adapter.rb:55:in `select_and_initialize' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/listener.rb:290:in `initialize_adapter' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/listener.rb:282:in `setup' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/listen-1.3.0/lib/listen/listener.rb:52:in `start' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/guard-1.8.2/lib/guard.rb:213:in `block in start' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/guard-1.8.2/lib/guard.rb:387:in `block in within_preserved_state' <internal:prelude>:10:in `synchronize' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/guard-1.8.2/lib/guard.rb:384:in `within_preserved_state' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/guard-1.8.2/lib/guard.rb:209:in `start' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/guard-1.8.2/lib/guard/cli.rb:110:in `start' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor/command.rb:27:in `run' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor/base.rb:439:in `start' c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/guard-1.8.2/bin/guard:6:in `<top (required)>' c:/railsinstaller/ruby1.9.3/bin/guard:23:in `load' c:/railsinstaller/ruby1.9.3/bin/guard:23:in `<main>'
i have tried editing path
point correct phpunit
, it's still same.
what's wrong?
also, should learn guard
or move grunt
? i'm php dev.
i've found solution.
the problem typing mistake in ruby1.9.3\lib\ruby\gems\1.9.1\gems\guard-phpunit-0.1.4\lib\guard\phpunit\formatters\phpunit-progress\phpunit\extensions\progress\resultprinter.php
affects 3.7.*
versions.
you have find allcompletlyimplemented()
method , rename allcompletelyimplemented()
on line 250 , 256.
Comments
Post a Comment