{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/3734","labels_url":"https://api.github.com/repos/bundler/bundler/issues/3734/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/3734/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/3734/events","html_url":"https://github.com/bundler/bundler/issues/3734","id":86922010,"number":3734,"title":"Bundler won't ignore production gems in development","user":{"login":"dt1973","id":10206439,"avatar_url":"https://avatars.githubusercontent.com/u/10206439?v=3","gravatar_id":"","url":"https://api.github.com/users/dt1973","html_url":"https://github.com/dt1973","followers_url":"https://api.github.com/users/dt1973/followers","following_url":"https://api.github.com/users/dt1973/following{/other_user}","gists_url":"https://api.github.com/users/dt1973/gists{/gist_id}","starred_url":"https://api.github.com/users/dt1973/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dt1973/subscriptions","organizations_url":"https://api.github.com/users/dt1973/orgs","repos_url":"https://api.github.com/users/dt1973/repos","events_url":"https://api.github.com/users/dt1973/events{/privacy}","received_events_url":"https://api.github.com/users/dt1973/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-10T10:38:33Z","updated_at":"2015-06-10T21:41:18Z","closed_at":"2015-06-10T11:13:28Z","body":"Expanding on https://github.com/bundler/bundler/issues/2341 and after having followed the recommended troubleshooting steps -- Bundler won't ignore production gems in development, even when specifying `RAILS_ENV=development bundle install`.\r\n\r\n```\r\ngroup :production do\r\n  # This should not be installed in development\r\n  gem \"ruby-clean-css\"\r\nend\r\n```\r\n\r\nUsing Bundler 1.10.3 with Ruby 2.2.0 on OpenBSD 5.7."},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/110922721","html_url":"https://github.com/bundler/bundler/issues/3734#issuecomment-110922721","issue_url":"https://api.github.com/repos/bundler/bundler/issues/3734","id":110922721,"user":{"login":"TimMoore","id":44385,"avatar_url":"https://avatars.githubusercontent.com/u/44385?v=3","gravatar_id":"","url":"https://api.github.com/users/TimMoore","html_url":"https://github.com/TimMoore","followers_url":"https://api.github.com/users/TimMoore/followers","following_url":"https://api.github.com/users/TimMoore/following{/other_user}","gists_url":"https://api.github.com/users/TimMoore/gists{/gist_id}","starred_url":"https://api.github.com/users/TimMoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimMoore/subscriptions","organizations_url":"https://api.github.com/users/TimMoore/orgs","repos_url":"https://api.github.com/users/TimMoore/repos","events_url":"https://api.github.com/users/TimMoore/events{/privacy}","received_events_url":"https://api.github.com/users/TimMoore/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T21:41:18Z","updated_at":"2015-06-10T21:41:18Z","body":"Groups in Bundler are only related to Rails environments by convention, but they are entirely user defined and don't necessarily match up to environments at all. Also keep in mind that Bundler is not tied to Rails in any way and is used in a lot of contexts other than Rails apps."}}