{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1063","labels_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1063/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1063/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1063/events","html_url":"https://github.com/cloudfoundry/bosh/issues/1063","id":121605317,"number":1063,"title":"bosh_cli won't run if BOSH_USE_BUNDLER is true and bundler is not installed ","user":{"login":"wendorf","id":407342,"avatar_url":"https://avatars.githubusercontent.com/u/407342?v=3","gravatar_id":"","url":"https://api.github.com/users/wendorf","html_url":"https://github.com/wendorf","followers_url":"https://api.github.com/users/wendorf/followers","following_url":"https://api.github.com/users/wendorf/following{/other_user}","gists_url":"https://api.github.com/users/wendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/wendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendorf/subscriptions","organizations_url":"https://api.github.com/users/wendorf/orgs","repos_url":"https://api.github.com/users/wendorf/repos","events_url":"https://api.github.com/users/wendorf/events{/privacy}","received_events_url":"https://api.github.com/users/wendorf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T23:57:14Z","updated_at":"2015-12-10T23:57:14Z","closed_at":null,"body":"bosh_cli has a dependency on the bundler gem if this environment variable is set, but the gemspec does not declare this dependency. bosh_cli should either declare the dependency, or provide a more graceful error message.\r\n\r\n```\r\n→ gem install bosh_cli\r\nFetching: little-plugger-1.1.4.gem (100%)\r\nSuccessfully installed little-plugger-1.1.4\r\nFetching: logging-1.8.2.gem (100%)\r\nSuccessfully installed logging-1.8.2\r\nFetching: semi_semantic-1.1.0.gem (100%)\r\nSuccessfully installed semi_semantic-1.1.0\r\nFetching: bosh_common-1.3149.0.gem (100%)\r\nSuccessfully installed bosh_common-1.3149.0\r\nFetching: bosh-template-1.3149.0.gem (100%)\r\nSuccessfully installed bosh-template-1.3149.0\r\nFetching: cf-uaa-lib-3.2.5.gem (100%)\r\nSuccessfully installed cf-uaa-lib-3.2.5\r\nFetching: json_pure-1.8.3.gem (100%)\r\nSuccessfully installed json_pure-1.8.3\r\nFetching: highline-1.6.21.gem (100%)\r\nSuccessfully installed highline-1.6.21\r\nFetching: progressbar-0.9.2.gem (100%)\r\nSuccessfully installed progressbar-0.9.2\r\nFetching: httpclient-2.4.0.gem (100%)\r\nSuccessfully installed httpclient-2.4.0\r\nFetching: terminal-table-1.4.5.gem (100%)\r\nSuccessfully installed terminal-table-1.4.5\r\nFetching: aws-sdk-v1-1.60.2.gem (100%)\r\nSuccessfully installed aws-sdk-v1-1.60.2\r\nFetching: aws-sdk-1.60.2.gem (100%)\r\nSuccessfully installed aws-sdk-1.60.2\r\nFetching: blobstore_client-1.3149.0.gem (100%)\r\nSuccessfully installed blobstore_client-1.3149.0\r\nFetching: net-scp-1.1.2.gem (100%)\r\nSuccessfully installed net-scp-1.1.2\r\nFetching: netaddr-1.5.0.gem (100%)\r\nSuccessfully installed netaddr-1.5.0\r\nFetching: sshkey-1.7.0.gem (100%)\r\nSuccessfully installed sshkey-1.7.0\r\nFetching: bosh_cli-1.3149.0.gem (100%)\r\nSuccessfully installed bosh_cli-1.3149.0\r\n18 gems installed\r\n\r\n→ bosh target\r\n\r\nOptimizing gem configuration...\r\n\r\n/Users/pivotal/.rubies/ruby-2.1.6/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError)\r\n\tfrom /Users/pivotal/.rubies/ruby-2.1.6/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n\tfrom /Users/pivotal/.gem/ruby/2.1.6/gems/bosh_cli-1.3149.0/bin/optionally_run_with_bundler.rb:28:in `run'\r\n\tfrom /Users/pivotal/.gem/ruby/2.1.6/gems/bosh_cli-1.3149.0/bin/bosh:3:in `<top (required)>'\r\n\tfrom /Users/pivotal/.gem/ruby/2.1.6/bin/bosh:23:in `load'\r\n\tfrom /Users/pivotal/.gem/ruby/2.1.6/bin/bosh:23:in `<main>'\r\n```"}}