{"action":"closed","issue":{"url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1191","repository_url":"https://api.github.com/repos/rubygems/rubygems.org","labels_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1191/labels{/name}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1191/comments","events_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1191/events","html_url":"https://github.com/rubygems/rubygems.org/issues/1191","id":131900085,"number":1191,"title":"Gemfile line suggested for pre-release versions is invalid","user":{"login":"connorshea","id":2977353,"avatar_url":"https://avatars.githubusercontent.com/u/2977353?v=3","gravatar_id":"","url":"https://api.github.com/users/connorshea","html_url":"https://github.com/connorshea","followers_url":"https://api.github.com/users/connorshea/followers","following_url":"https://api.github.com/users/connorshea/following{/other_user}","gists_url":"https://api.github.com/users/connorshea/gists{/gist_id}","starred_url":"https://api.github.com/users/connorshea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorshea/subscriptions","organizations_url":"https://api.github.com/users/connorshea/orgs","repos_url":"https://api.github.com/users/connorshea/repos","events_url":"https://api.github.com/users/connorshea/events{/privacy}","received_events_url":"https://api.github.com/users/connorshea/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rubygems/rubygems.org/labels/bug","name":"bug","color":"db3b3b"},{"url":"https://api.github.com/repos/rubygems/rubygems.org/labels/needs-pr","name":"needs-pr","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-06T21:12:27Z","updated_at":"2016-04-10T17:12:10Z","closed_at":"2016-04-10T17:12:10Z","body":"The RubyGems page for [Devise 4.0.0.rc1](https://rubygems.org/gems/devise/versions/4.0.0.rc1) suggests adding `gem 'devise', '~> 4.0', '>= 4.0.0.rc1'` to the Gemfile in order to install that specific version of the gem. Bundler gives me the following:\r\n\r\n```\r\nFetching gem metadata from https://rubygems.org/...........\r\nFetching version metadata from https://rubygems.org/...\r\nFetching dependency metadata from https://rubygems.org/..\r\nCould not find gem 'devise (>= 4.0.0.rc1, ~> 4.0)' in any of the gem sources listed in your Gemfile\r\nor available on this machine.\r\n```\r\n\r\nThis might technically be a Bundler issue, but for the time being RubyGems probably shouldn't suggest that, would confuse other users. `gem 'devise', '>= 4.0.0.rc1'` *does* work, however. I'd suggest using that for now.\r\n\r\nA friend had this issue and asked me for help, so it's definitely not a problem on my end. You can recreate this relatively easily with a Gemfile that's just:\r\n\r\n```ruby\r\nsource 'https://rubygems.org'\r\n\r\ngem 'devise', '~> 4.0', '>= 4.0.0.rc1'\r\n```"}}