{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/4238","labels_url":"https://api.github.com/repos/bundler/bundler/issues/4238/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/4238/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/4238/events","html_url":"https://github.com/bundler/bundler/issues/4238","id":128682531,"number":4238,"title":"Bundler 1.11.2 adding exclamation marks (!) to dependencies that should come from rubygems.org","user":{"login":"padi","id":807110,"avatar_url":"https://avatars.githubusercontent.com/u/807110?v=3","gravatar_id":"","url":"https://api.github.com/users/padi","html_url":"https://github.com/padi","followers_url":"https://api.github.com/users/padi/followers","following_url":"https://api.github.com/users/padi/following{/other_user}","gists_url":"https://api.github.com/users/padi/gists{/gist_id}","starred_url":"https://api.github.com/users/padi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/padi/subscriptions","organizations_url":"https://api.github.com/users/padi/orgs","repos_url":"https://api.github.com/users/padi/repos","events_url":"https://api.github.com/users/padi/events{/privacy}","received_events_url":"https://api.github.com/users/padi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-26T00:23:56Z","updated_at":"2016-01-26T01:44:58Z","closed_at":null,"body":"Similar to the discussion here: https://groups.google.com/forum/#!topic/ruby-bundler/QxlNGzK3rEY\r\n\r\nI'm trying to run `bundle update <gem>` to a private gem but it's adding extra changes in the Gemfile.lock when running bundle with version 1.11.2.\r\n\r\nThis is the diff when running `bundle update <gem>`: \r\n\r\n```ruby\r\n...\r\nDEPENDENCIES\r\n   active_model_serializers!\r\n-  apipie-rails\r\n+  apipie-rails!\r\n   awit!\r\n   breadcrumbs_on_rails!\r\n   capybara (~> 2.3)!\r\n@@ -568,7 +568,7 @@ DEPENDENCIES\r\n   fabrication!\r\n   factory_girl_rails!\r\n   faker!\r\n-  filterer (= 0.4.2)\r\n+  filterer (= 0.4.2)!\r\n   foreman!\r\n   fuubar!\r\n@@ -577,7 +577,7 @@ DEPENDENCIES\r\n-  private_gem (~> 0.2)\r\n+  private_gem (~> 0.2)!\r\n@@ -590,9 +590,9 @@ DEPENDENCIES\r\n   jquery-rails!\r\n   jquery-turbolinks!\r\n   jquery-ui-rails (~> 4.2)!\r\n-  light-service (= 0.5.0)\r\n+  light-service (= 0.5.0)!\r\n   liquid!\r\n-  model_template_resolver (= 0.0.1)\r\n+  model_template_resolver (= 0.0.1)!\r\n   naturalsort!\r\n   nested_form_fields!\r\n   newrelic_rpm!\r\n```\r\n\r\nDouble checked if these gems were also served in our private gem server, but they do not exist there and they only exist in rubygems.org. They're not dependencies of the gem I'm trying to update either.\r\n\r\nWhen I try to commit these changes anyway and let the server bundler (1.10.6) install the gems, I get this warning:\r\n\r\n```sh\r\nWarning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.\r\nYou are trying to install in deployment mode after changing your Gemfile. Run `bundle install` elsewhere and add the updated Gemfile.lock to version control.\r\n```\r\n\r\nBut when I manually remove the exclamation marks to the unrelated gems (or `bundle update <gem>` with bundler version 1.10.6, which just removes exactly the same exclamation marks anyway), they gems are installed successfully without any warning."},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/174764146","html_url":"https://github.com/bundler/bundler/issues/4238#issuecomment-174764146","issue_url":"https://api.github.com/repos/bundler/bundler/issues/4238","id":174764146,"user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T01:44:58Z","updated_at":"2016-01-26T01:44:58Z","body":"So, I think anything inside a source block is supposed to have a `!` after it?"}}