{"issue":{"pull_request":{"diff_url":"https://github.com/spree/spree/pull/748.diff","html_url":"https://github.com/spree/spree/pull/748","patch_url":"https://github.com/spree/spree/pull/748.patch"},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/c203190318ed9534390c93d1744a6cf1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c203190318ed9534390c93d1744a6cf1","url":"https://api.github.com/users/thedarkone","login":"thedarkone","id":15688},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-11-13T13:01:54Z","comments":4,"closed_at":null,"url":"https://api.github.com/repos/spree/spree/issues/748","body":"Bundler doesn't require any of the non group associated gems unless it is passed the `:default` group in the `Bundler.require *groups` call.\r\n\r\nThis means for example that all the gems in the main [`Gemfile`](https://github.com/spree/spree/blob/73bae75e642f2a1a397b43c726ee93095131c48d/Gemfile) not-included in any of the `group :something do` blocks are *not* required by Bundler.","html_url":"https://github.com/spree/spree/issues/748","title":"Use Rails.groups when doing Bundler.require","number":748,"id":2210885,"created_at":"2011-11-11T16:24:56Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/c203190318ed9534390c93d1744a6cf1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c203190318ed9534390c93d1744a6cf1","url":"https://api.github.com/users/thedarkone","login":"thedarkone","id":15688},"updated_at":"2011-11-13T13:01:54Z","url":"https://api.github.com/repos/spree/spree/issues/comments/2722151","body":"The reason this works:\r\n\r\n```ruby\r\ngem 'json'\r\ngem 'sqlite3'\r\n```\r\nis because Rails or other gems issue manual requires for the `json` and `sqlite3` gems. If you were to change the `Gemfile` like this:\r\n\r\n```ruby\r\ngroup :this_is_never_used do\r\n  gem 'json'\r\n  gem 'sqlite3'\r\nend\r\n```\r\neverything would still work.\r\n\r\nI'm also not sure about requiring `ruby-debug` all the time, maybe it should be moved into the `:development` group?","id":2722151,"created_at":"2011-11-13T13:01:54Z"}}