{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/4337","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/4337/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/4337/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/4337/events","html_url":"https://github.com/bundler/bundler/issues/4337","id":138590457,"number":4337,"title":"Gems in a source block with non-numeric suffix do not meet dependency requirements","user":{"login":"Valarissa","id":342960,"avatar_url":"https://avatars.githubusercontent.com/u/342960?v=3","gravatar_id":"","url":"https://api.github.com/users/Valarissa","html_url":"https://github.com/Valarissa","followers_url":"https://api.github.com/users/Valarissa/followers","following_url":"https://api.github.com/users/Valarissa/following{/other_user}","gists_url":"https://api.github.com/users/Valarissa/gists{/gist_id}","starred_url":"https://api.github.com/users/Valarissa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Valarissa/subscriptions","organizations_url":"https://api.github.com/users/Valarissa/orgs","repos_url":"https://api.github.com/users/Valarissa/repos","events_url":"https://api.github.com/users/Valarissa/events{/privacy}","received_events_url":"https://api.github.com/users/Valarissa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-04T21:27:00Z","updated_at":"2016-03-07T18:08:23Z","closed_at":"2016-03-07T18:08:23Z","body":"I've been running into an issue:\r\n\r\n```\r\nBundler could not find compatible versions for gem \"newrelic_rpm\":\r\n  In snapshot (Gemfile.lock):\r\n    newrelic_rpm (= 3.15.0.314.pre)\r\n\r\n  In Gemfile:\r\n    newrelic_rpm (= 3.15.0.314.pre)\r\n\r\n    new_relic-rubicon (~> 0.5.0) was resolved to 0.5.0, which depends on\r\n      newrelic_rpm (>= 3.7.0)\r\n```\r\n\r\nBasically, when the line `gem 'newrelic_rpm', '3.15.0.314.pre'` is placed within a source block, the above error occurs. When it is moved outside of a source block, it works to satisfy the dependency requirement.\r\n\r\nI've fiddled with things a bit, and any version with a non-numeric suffix causes the error (i.e. 3.15.0.314.better still causes the issue, however, 3.15.0.314.0001 does not).\r\n\r\nI'm willing to work with people in order to both diagnose this issue and work on a solution, but it does seem to be an issue."},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/193374504","html_url":"https://github.com/bundler/bundler/issues/4337#issuecomment-193374504","issue_url":"https://api.github.com/repos/bundler/bundler/issues/4337","id":193374504,"user":{"login":"Valarissa","id":342960,"avatar_url":"https://avatars.githubusercontent.com/u/342960?v=3","gravatar_id":"","url":"https://api.github.com/users/Valarissa","html_url":"https://github.com/Valarissa","followers_url":"https://api.github.com/users/Valarissa/followers","following_url":"https://api.github.com/users/Valarissa/following{/other_user}","gists_url":"https://api.github.com/users/Valarissa/gists{/gist_id}","starred_url":"https://api.github.com/users/Valarissa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Valarissa/subscriptions","organizations_url":"https://api.github.com/users/Valarissa/orgs","repos_url":"https://api.github.com/users/Valarissa/repos","events_url":"https://api.github.com/users/Valarissa/events{/privacy}","received_events_url":"https://api.github.com/users/Valarissa/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T18:08:23Z","updated_at":"2016-03-07T18:08:23Z","body":"Discovered via https://github.com/bundler/bundler/issues/2938 that this is all working as intended. Gemspec for the gem that had requirements contained no letter and was therefore correctly ignoring the prerelease gem."}}