{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/6048","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/6048/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/6048/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/6048/events","html_url":"https://github.com/bundler/bundler/issues/6048","id":259241294,"number":6048,"title":"\"dependencies not in the API\" error message","user":{"login":"roberts1000","id":2053901,"avatar_url":"https://avatars1.githubusercontent.com/u/2053901?v=4","gravatar_id":"","url":"https://api.github.com/users/roberts1000","html_url":"https://github.com/roberts1000","followers_url":"https://api.github.com/users/roberts1000/followers","following_url":"https://api.github.com/users/roberts1000/following{/other_user}","gists_url":"https://api.github.com/users/roberts1000/gists{/gist_id}","starred_url":"https://api.github.com/users/roberts1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roberts1000/subscriptions","organizations_url":"https://api.github.com/users/roberts1000/orgs","repos_url":"https://api.github.com/users/roberts1000/repos","events_url":"https://api.github.com/users/roberts1000/events{/privacy}","received_events_url":"https://api.github.com/users/roberts1000/received_events","type":"User","site_admin":false},"labels":[{"id":210390812,"url":"https://api.github.com/repos/bundler/bundler/labels/status:%20user%20feedback%20required","name":"status: user feedback required","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-20T17:26:11Z","updated_at":"2018-05-24T09:59:31Z","closed_at":"2017-10-02T02:02:38Z","author_association":"NONE","body":"I have a gem that originally had the following line\r\n\r\n    spec.add_dependency \"thor\", '~> 0.19.4'\r\n  \r\nEverything worked fine until I changed it to\r\n\r\n    spec.add_dependency \"thor\", \">= 0.19.4\", \"< 0.21.0\"\r\n\r\nWhen I bundle my gem, I receive the following error from bundler\r\n\r\n```\r\nDownloading my_gem-4.2.0.pre.alpha.1 revealed dependencies not in the API or the lockfile (thor (< 0.21.0, >= 0.19.4)).\r\nEither installing with `--full-index` or running `bundle update my_gem` should fix the problem.\r\n```\r\n\r\nMy gem is hosted on a corporate Nexus repo that acts as a proxy for rubygems.\r\n\r\nRunning `bundle --full-index`, does make the problem go away on my machine.\r\n\r\n### bundle.env\r\n\r\n```\r\nBundler   1.15.4\r\nRubygems  2.6.13\r\nRuby      2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]\r\nGEM_HOME  /home/vagrant/.rvm/gems/ruby-2.3.4\r\nGEM_PATH  /home/vagrant/.rvm/gems/ruby-2.3.4:/home/vagrant/.rvm/gems/ruby-2.3.4@global\r\nRVM       1.29.3 (latest)\r\nGit       2.9.3\r\nPlatform  x86_64-linux\r\nOpenSSL   OpenSSL 1.0.2g  1 Mar 2016\r\nrubygems-bundler (1.4.4)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/391658946","html_url":"https://github.com/bundler/bundler/issues/6048#issuecomment-391658946","issue_url":"https://api.github.com/repos/bundler/bundler/issues/6048","id":391658946,"user":{"login":"Richard-Degenne","id":6302494,"avatar_url":"https://avatars1.githubusercontent.com/u/6302494?v=4","gravatar_id":"","url":"https://api.github.com/users/Richard-Degenne","html_url":"https://github.com/Richard-Degenne","followers_url":"https://api.github.com/users/Richard-Degenne/followers","following_url":"https://api.github.com/users/Richard-Degenne/following{/other_user}","gists_url":"https://api.github.com/users/Richard-Degenne/gists{/gist_id}","starred_url":"https://api.github.com/users/Richard-Degenne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Richard-Degenne/subscriptions","organizations_url":"https://api.github.com/users/Richard-Degenne/orgs","repos_url":"https://api.github.com/users/Richard-Degenne/repos","events_url":"https://api.github.com/users/Richard-Degenne/events{/privacy}","received_events_url":"https://api.github.com/users/Richard-Degenne/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T09:59:31Z","updated_at":"2018-05-24T09:59:31Z","author_association":"NONE","body":"We've encountered this bug as well; the bug comes indeed from Nexus.\r\n\r\nThe Nexus API only returns the first requirement of each dependency on a given gem, which causes Bundle to complain when it fetches the actual gem and finds different requirements.\r\n\r\nWe're reporting it to the Nexus team."}}
{"actor":{"display_login":"Richard-Degenne"}}