{"action":"created","issue":{"url":"https://api.github.com/repos/filterfish/smith2/issues/35","labels_url":"https://api.github.com/repos/filterfish/smith2/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/filterfish/smith2/issues/35/comments","events_url":"https://api.github.com/repos/filterfish/smith2/issues/35/events","html_url":"https://github.com/filterfish/smith2/issues/35","id":60285720,"number":35,"title":"MIssing depencies for smith2","user":{"login":"qnm","id":5343,"avatar_url":"https://avatars.githubusercontent.com/u/5343?v=3","gravatar_id":"","url":"https://api.github.com/users/qnm","html_url":"https://github.com/qnm","followers_url":"https://api.github.com/users/qnm/followers","following_url":"https://api.github.com/users/qnm/following{/other_user}","gists_url":"https://api.github.com/users/qnm/gists{/gist_id}","starred_url":"https://api.github.com/users/qnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnm/subscriptions","organizations_url":"https://api.github.com/users/qnm/orgs","repos_url":"https://api.github.com/users/qnm/repos","events_url":"https://api.github.com/users/qnm/events{/privacy}","received_events_url":"https://api.github.com/users/qnm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T00:43:12Z","updated_at":"2015-03-15T11:16:17Z","closed_at":null,"body":"Hi,\r\n\r\nWhen installing the `smith2` gem, it appeared that the following dependencies are missing from the gemspec.\r\n\r\n * `gdbm`\r\n * `ffi`\r\n\r\nI derived these two gems from the error messages received from running `bundle exec agency`.\r\n\r\n```\r\n~/P/D/ci ❯❯❯ bundle exec agency\r\n/Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.6/lib/ffi/library.rb:133:in `block in ffi_lib': Could not open library 'gdbm': dlopen(gdbm, 5): image not found. (LoadError)\r\nCould not open library 'libgdbm.dylib': dlopen(libgdbm.dylib, 5): image not found\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.6/lib/ffi/library.rb:100:in `map'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.6/lib/ffi/library.rb:100:in `ffi_lib'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/gdbm-1.2/lib/gdbm.rb:24:in `<module:GDBM_FFI>'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/gdbm-1.2/lib/gdbm.rb:22:in `<top (required)>'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/smith-0.6.5.2/lib/smith/agent_cache.rb:2:in `require'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/smith-0.6.5.2/lib/smith/agent_cache.rb:2:in `<top (required)>'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/smith-0.6.5.2/bin/agency:10:in `require'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/smith-0.6.5.2/bin/agency:10:in `<top (required)>'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/bin/agency:23:in `load'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/bin/agency:23:in `<main>'\r\n```\r\n\r\n```\r\n~/P/D/ci ❯❯❯ bundle exec agency\r\n/Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/gdbm-1.2/lib/gdbm.rb:19:in `require': cannot load such file -- ffi (LoadError)\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/gdbm-1.2/lib/gdbm.rb:19:in `<top (required)>'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/smith-0.6.5.2/lib/smith/agent_cache.rb:2:in `require'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/smith-0.6.5.2/lib/smith/agent_cache.rb:2:in `<top (required)>'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/smith-0.6.5.2/bin/agency:10:in `require'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/smith-0.6.5.2/bin/agency:10:in `<top (required)>'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/bin/agency:23:in `load'\r\n        from /Users/qnm/.rbenv/versions/2.1.2/bin/agency:23:in `<main>'\r\n```\r\nI'm unsure which versions are required so I'm logging an issue rather than submitting a PR.\r\n\r\n -- Rob"},"comment":{"url":"https://api.github.com/repos/filterfish/smith2/issues/comments/80962392","html_url":"https://github.com/filterfish/smith2/issues/35#issuecomment-80962392","issue_url":"https://api.github.com/repos/filterfish/smith2/issues/35","id":80962392,"user":{"login":"qnm","id":5343,"avatar_url":"https://avatars.githubusercontent.com/u/5343?v=3","gravatar_id":"","url":"https://api.github.com/users/qnm","html_url":"https://github.com/qnm","followers_url":"https://api.github.com/users/qnm/followers","following_url":"https://api.github.com/users/qnm/following{/other_user}","gists_url":"https://api.github.com/users/qnm/gists{/gist_id}","starred_url":"https://api.github.com/users/qnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnm/subscriptions","organizations_url":"https://api.github.com/users/qnm/orgs","repos_url":"https://api.github.com/users/qnm/repos","events_url":"https://api.github.com/users/qnm/events{/privacy}","received_events_url":"https://api.github.com/users/qnm/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T11:16:16Z","updated_at":"2015-03-15T11:16:16Z","body":"A recompilation of ruby fixed the issue - thanks!\r\n\r\n > I'm not sure how best to deal with this, though.\r\n\r\nIdeally we'd throw an exception when `gdbm` isn't detected, along with a short message advising the user how to proceed or perhaps linking to the wiki with what you've written above."}}