AlexDenisov / guard-calabash-ios

Guard gem for calabash-ios
MIT License
5 stars 5 forks source link

Can't set up guard calabash for iOS #1

Closed johngallaghermykeypay closed 12 years ago

johngallaghermykeypay commented 12 years ago

When I follow the setup instructions I get:

DEPRECATION: Starting with Guard v1.1 the use of the 'run_on_change' method in the 'Guard::CalabashiOS' guard is deprecated.
Please consider replacing that method-call with 'run_on_changes' if the type of change
is not important for your usecase or using either 'run_on_modifications' or 'run_on_additions'
based on the type of the changes you want to handle.
For more information on how to update existing guards, please head over to:
https://github.com/guard/guard/wiki/Upgrade-guide-for-existing-guards-to-Guard-v1.1
DEPRECATION: Starting with Guard v1.1 the use of the 'run_on_deletion' method in the 'Guard::CalabashiOS' guard is deprecated.
Please consider replacing that method-call with 'run_on_removals' for future proofing your code.
For more information on how to update existing guards, please head over to:
https://github.com/guard/guard/wiki/Upgrade-guide-for-existing-guards-to-Guard-v1.1
DEPRECATION: Starting with Guard v1.1 the use of the 'run_on_change' method in the 'Guard::CalabashiOS' guard is deprecated.
Please consider replacing that method-call with 'run_on_changes' if the type of change
is not important for your usecase or using either 'run_on_modifications' or 'run_on_additions'
based on the type of the changes you want to handle.
For more information on how to update existing guards, please head over to:
https://github.com/guard/guard/wiki/Upgrade-guide-for-existing-guards-to-Guard-v1.1
DEPRECATION: Starting with Guard v1.1 the use of the 'run_on_deletion' method in the 'Guard::CalabashiOS' guard is deprecated.
Please consider replacing that method-call with 'run_on_removals' for future proofing your code.
For more information on how to update existing guards, please head over to:
https://github.com/guard/guard/wiki/Upgrade-guide-for-existing-guards-to-Guard-v1.1
DEPRECATION: Starting with Guard v1.1 the use of the 'run_on_change' method in the 'Guard::CalabashiOS' guard is deprecated.
Please consider replacing that method-call with 'run_on_changes' if the type of change
is not important for your usecase or using either 'run_on_modifications' or 'run_on_additions'
based on the type of the changes you want to handle.
For more information on how to update existing guards, please head over to:
https://github.com/guard/guard/wiki/Upgrade-guide-for-existing-guards-to-Guard-v1.1
DEPRECATION: Starting with Guard v1.1 the use of the 'run_on_deletion' method in the 'Guard::CalabashiOS' guard is deprecated.
Please consider replacing that method-call with 'run_on_removals' for future proofing your code.
For more information on how to update existing guards, please head over to:
https://github.com/guard/guard/wiki/Upgrade-guide-for-existing-guards-to-Guard-v1.1
Guard could not detect any of the supported notification libraries.
Guard is now watching at '/Users/appledeveloper/Documents/Web Project Mobile App/Other/ProofOfConcept/TestCalabash1'
/Library/Ruby/Gems/1.8/gems/guard-calabash-ios-0.2.0/lib/guard/calabash-ios/runner.rb:67:in `exists?': can't convert nil into String (TypeError)
    from /Library/Ruby/Gems/1.8/gems/guard-calabash-ios-0.2.0/lib/guard/calabash-ios/runner.rb:67:in `run'
    from /Library/Ruby/Gems/1.8/gems/guard-1.1.1/lib/guard.rb:156:in `start'
    from /Library/Ruby/Gems/1.8/gems/guard-1.1.1/lib/guard/cli.rb:95:in `start'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
    from /Library/Ruby/Gems/1.8/gems/guard-1.1.1/bin/guard:6
    from /usr/bin/guard:19:in `load'
    from /usr/bin/guard:19

I'm on Lion with the following gems

*** LOCAL GEMS ***

actionmailer (3.2.3)
actionpack (3.2.3)
activemodel (3.2.3)
activerecord (3.2.3)
activeresource (3.2.3)
activesupport (3.2.3)
arel (3.0.2)
builder (3.0.0)
bundler (1.1.3)
calabash-cucumber (0.9.62, 0.9.54)
CFPropertyList (2.1.1)
cucumber (1.2.0)
diff-lcs (1.1.3)
erubis (2.7.0)
ffi (1.0.11)
frank-cucumber (0.8.12)
gherkin (2.11.0, 2.10.0)
guard (1.1.1)
guard-calabash-ios (0.2.0)
hike (1.2.1)
i18n (0.6.0)
journey (1.0.3)
json (1.7.1)
listen (0.4.4)
mail (2.4.4)
mime-types (1.18)
multi_json (1.3.4)
net-http-persistent (2.6)
pairwise (0.1.6)
plist (3.1.0)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-protection (1.2.0)
rack-ssl (1.3.2)
rack-test (0.6.1)
railties (3.2.3)
rake (0.9.2.2)
rb-fchange (0.0.5)
rb-fsevent (0.9.1)
rb-inotify (0.8.8)
rdoc (3.12)
rspec (2.10.0)
rspec-core (2.10.0)
rspec-expectations (2.10.0)
rspec-mocks (2.10.1)
ruby-rtf (0.0.1)
sim_launcher (0.3.8)
sinatra (1.3.2)
slowhandcuke (0.0.3)
sprockets (2.1.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)

Any ideas what I'm doing wrong?

AlexDenisov commented 12 years ago

Try to reinstall older version of guard gem uninstall guard gem install guard -v 1.0.0

I will try to fix this issue when back home.

AlexDenisov commented 12 years ago

Fixed in 0.2.1 version.