Skip to content

Could not load 'guard/phpunit2' or' ' find class Guard::Phpunit2 #17

Description

@simplenotezy

I have just installed guard and phpunit2. When running "guard init" in my project folder, I get following error:

[canfiax:~/lesson] $ guard init
16:30:12 - ERROR - Could not load 'guard/phpunit2' or'    ' find class Guard::Phpunit2
16:30:12 - ERROR - Error is: cannot load such file -- guard/guard
16:30:12 - ERROR - /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
> [#] /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
> [#] /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
> [#] /usr/local/lib/ruby/gems/2.1.0/gems/guard-phpunit2-0.2.7/lib/guard/phpunit2.rb:2:in `<top (required)>'
> [#] /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
> [#] /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
[..... and more]

What is wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions