{"action":"created","issue":{"url":"https://api.github.com/repos/nistude/guard-knife/issues/7","labels_url":"https://api.github.com/repos/nistude/guard-knife/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/nistude/guard-knife/issues/7/comments","events_url":"https://api.github.com/repos/nistude/guard-knife/issues/7/events","html_url":"https://github.com/nistude/guard-knife/issues/7","id":49079240,"number":7,"title":"error after cookbook is uploaded","user":{"login":"aruntomar","id":1321238,"avatar_url":"https://avatars.githubusercontent.com/u/1321238?v=3","gravatar_id":"","url":"https://api.github.com/users/aruntomar","html_url":"https://github.com/aruntomar","followers_url":"https://api.github.com/users/aruntomar/followers","following_url":"https://api.github.com/users/aruntomar/following{/other_user}","gists_url":"https://api.github.com/users/aruntomar/gists{/gist_id}","starred_url":"https://api.github.com/users/aruntomar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aruntomar/subscriptions","organizations_url":"https://api.github.com/users/aruntomar/orgs","repos_url":"https://api.github.com/users/aruntomar/repos","events_url":"https://api.github.com/users/aruntomar/events{/privacy}","received_events_url":"https://api.github.com/users/aruntomar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-17T11:48:43Z","updated_at":"2015-10-24T08:48:36Z","closed_at":null,"body":"I installed guard-knife. \r\ncreated a Guardfile with guard init knife\r\nand run guard\r\n\r\nwhen i change the cookbook file, it gets upload the first time and i get the error below. after that, even if i change the file, it doesn't get uploaded. \r\n\r\nIn case you are wondering about the dev env\r\n\r\n```\r\n[arun@phenom chef]$ gem list|grep guard\r\nguard (2.7.0)\r\nguard-knife (0.1.2)\r\nguard-rspec (4.3.1)\r\n```\r\n```\r\n[arun@phenom chef]$ gem env\r\nRubyGems Environment:\r\n  - RUBYGEMS VERSION: 2.4.1\r\n  - RUBY VERSION: 2.1.3 (2014-09-19 patchlevel 242) [x86_64-linux]\r\n  - INSTALLATION DIRECTORY: /home/arun/.chefdk/gem/ruby/2.1.0\r\n  - RUBY EXECUTABLE: /opt/chefdk/embedded/bin/ruby\r\n  - EXECUTABLE DIRECTORY: /home/arun/.chefdk/gem/ruby/2.1.0/bin\r\n  - SPEC CACHE DIRECTORY: /home/arun/.gem/specs\r\n  - SYSTEM CONFIGURATION DIRECTORY: /opt/chefdk/embedded/etc\r\n  - RUBYGEMS PLATFORMS:\r\n    - ruby\r\n    - x86_64-linux\r\n  - GEM PATHS:\r\n     - /home/arun/.chefdk/gem/ruby/2.1.0\r\n     - /opt/chefdk/embedded/lib/ruby/gems/2.1.0\r\n  - GEM CONFIGURATION:\r\n     - :update_sources => true\r\n     - :verbose => true\r\n     - :backtrace => false\r\n     - :bulk_threshold => 1000\r\n     - \"install\" => \"--user\"\r\n     - \"update\" => \"--user\"\r\n  - REMOTE SOURCES:\r\n     - https://rubygems.org/\r\n  - SHELL PATH:\r\n     - /opt/chefdk/bin\r\n     - /home/arun/.chefdk/gem/ruby/2.1.0/bin\r\n     - /opt/chefdk/embedded/bin\r\n     - /usr/local/bin\r\n     - /usr/local/sbin\r\n     - /usr/bin\r\n     - /usr/sbin\r\n     - /bin\r\n     - /sbin\r\n     - /home/arun/.local/bin\r\n     - /home/arun/bin\r\n     - /home/arun/.local/bin\r\n     - /home/arun/bin\r\n```\r\n\r\n```\r\n17:11:30 - INFO - Guard is now watching at '/home/arun/workspace/atlas/chef'\r\nERROR: Could not find cookbook kolab in your cookbook path, skipping it\r\nERROR: Failed to upload 1 cookbook.\r\n17:11:42 - ERROR - Guard::Knife failed to achieve its <run_on_change>, exception was:\r\n> [#] Errno::ECONNREFUSED: Connection refused - connect(2) for \"127.0.0.1\" port 23053\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ruby_gntp-0.3.4/lib/ruby_gntp.rb:155:in `initialize'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ruby_gntp-0.3.4/lib/ruby_gntp.rb:155:in `open'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ruby_gntp-0.3.4/lib/ruby_gntp.rb:155:in `send_and_recieve'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ruby_gntp-0.3.4/lib/ruby_gntp.rb:90:in `register'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/notifiers/gntp.rb:87:in `_register!'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/notifiers/gntp.rb:105:in `_client'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/notifiers/gntp.rb:81:in `notify'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/notifier.rb:177:in `block in notify'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/notifier.rb:173:in `each'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/notifier.rb:173:in `notify'\r\n> [#] /home/arun/.chefdk/gem/ruby/2.1.0/gems/guard-knife-0.1.2/lib/guard/knife.rb:93:in `upload_cookbook'\r\n> [#] /home/arun/.chefdk/gem/ruby/2.1.0/gems/guard-knife-0.1.2/lib/guard/knife.rb:66:in `upload'\r\n> [#] /home/arun/.chefdk/gem/ruby/2.1.0/gems/guard-knife-0.1.2/lib/guard/knife.rb:44:in `block in run_on_change'\r\n> [#] /home/arun/.chefdk/gem/ruby/2.1.0/gems/guard-knife-0.1.2/lib/guard/knife.rb:43:in `each'\r\n> [#] /home/arun/.chefdk/gem/ruby/2.1.0/gems/guard-knife-0.1.2/lib/guard/knife.rb:43:in `run_on_change'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:78:in `block in run_supervised_task'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:75:in `catch'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:75:in `run_supervised_task'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:58:in `block (2 levels) in run_on_changes'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:53:in `each'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:53:in `block in run_on_changes'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:134:in `block (3 levels) in _scoped_plugins'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:132:in `each'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:132:in `block (2 levels) in _scoped_plugins'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:131:in `catch'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:131:in `block in _scoped_plugins'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:129:in `each'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:129:in `_scoped_plugins'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/runner.rb:50:in `run_on_changes'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/setuper.rb:221:in `_process_queue'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/commander.rb:91:in `_interactor_loop'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/commander.rb:29:in `start'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/lib/guard/cli.rb:112:in `start'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n> [#] /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/guard-2.7.0/bin/guard:6:in `<top (required)>'\r\n> [#] /opt/chefdk/embedded/bin/guard:23:in `load'\r\n> [#] /opt/chefdk/embedded/bin/guard:23:in `<main>'\r\n17:11:42 - INFO - Guard::Knife has just been fired\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/nistude/guard-knife/issues/comments/150777289","html_url":"https://github.com/nistude/guard-knife/issues/7#issuecomment-150777289","issue_url":"https://api.github.com/repos/nistude/guard-knife/issues/7","id":150777289,"user":{"login":"trinitronx","id":122524,"avatar_url":"https://avatars.githubusercontent.com/u/122524?v=3","gravatar_id":"","url":"https://api.github.com/users/trinitronx","html_url":"https://github.com/trinitronx","followers_url":"https://api.github.com/users/trinitronx/followers","following_url":"https://api.github.com/users/trinitronx/following{/other_user}","gists_url":"https://api.github.com/users/trinitronx/gists{/gist_id}","starred_url":"https://api.github.com/users/trinitronx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trinitronx/subscriptions","organizations_url":"https://api.github.com/users/trinitronx/orgs","repos_url":"https://api.github.com/users/trinitronx/repos","events_url":"https://api.github.com/users/trinitronx/events{/privacy}","received_events_url":"https://api.github.com/users/trinitronx/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T08:48:36Z","updated_at":"2015-10-24T08:48:36Z","body":"Ran into same error \"`Errno::ECONNREFUSED: Connection refused - connect(2) for \"127.0.0.1\" port 23053`\"... same cause: `ruby_gntp` gem was being used, but I wasn't running Growl.  Swapped it out for the standard `growl` gem, and it worked"}}