{"action":"created","issue":{"url":"https://api.github.com/repos/jnunemaker/flipper/issues/303","repository_url":"https://api.github.com/repos/jnunemaker/flipper","labels_url":"https://api.github.com/repos/jnunemaker/flipper/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/jnunemaker/flipper/issues/303/comments","events_url":"https://api.github.com/repos/jnunemaker/flipper/issues/303/events","html_url":"https://github.com/jnunemaker/flipper/issues/303","id":273675521,"number":303,"title":"NameError: uninitialized constant Flipper::Adapters::Redis","user":{"login":"krtschmr","id":13366714,"avatar_url":"https://avatars3.githubusercontent.com/u/13366714?v=4","gravatar_id":"","url":"https://api.github.com/users/krtschmr","html_url":"https://github.com/krtschmr","followers_url":"https://api.github.com/users/krtschmr/followers","following_url":"https://api.github.com/users/krtschmr/following{/other_user}","gists_url":"https://api.github.com/users/krtschmr/gists{/gist_id}","starred_url":"https://api.github.com/users/krtschmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krtschmr/subscriptions","organizations_url":"https://api.github.com/users/krtschmr/orgs","repos_url":"https://api.github.com/users/krtschmr/repos","events_url":"https://api.github.com/users/krtschmr/events{/privacy}","received_events_url":"https://api.github.com/users/krtschmr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-14T05:52:08Z","updated_at":"2017-11-17T15:11:57Z","closed_at":"2017-11-17T15:11:57Z","author_association":"NONE","body":"Rails 3.2 seems to have issues with using the gem\r\n\r\n\r\n*NameError: uninitialized constant Flipper::Adapters::Redis* \r\n\r\n\r\n\r\n```\r\n\r\nFlipper.configure do |config|\r\n  config.default do\r\n    # pick an adapter, this uses memory, any will do\r\n    adapter = Flipper::Adapters::Redis.new\r\n\r\n    # pass adapter to handy DSL instance\r\n    Flipper.new(adapter)\r\n  end\r\nend\r\n\r\n```\r\n\r\npreviously we used flipper 0.7 and our code looked like this\r\n\r\n```\r\nrequire 'flipper/adapters/redis'\r\n$flipper = Flipper.new(Flipper::Adapters::Redis.new(Redis.new))\r\n```\r\n\r\nthis *should* work aswell but somehow the adapter class (and the required file) aren't found anymore. does it has to do with the gem structure?\r\n"},"comment":{"url":"https://api.github.com/repos/jnunemaker/flipper/issues/comments/345270019","html_url":"https://github.com/jnunemaker/flipper/issues/303#issuecomment-345270019","issue_url":"https://api.github.com/repos/jnunemaker/flipper/issues/303","id":345270019,"user":{"login":"jnunemaker","id":235,"avatar_url":"https://avatars3.githubusercontent.com/u/235?v=4","gravatar_id":"","url":"https://api.github.com/users/jnunemaker","html_url":"https://github.com/jnunemaker","followers_url":"https://api.github.com/users/jnunemaker/followers","following_url":"https://api.github.com/users/jnunemaker/following{/other_user}","gists_url":"https://api.github.com/users/jnunemaker/gists{/gist_id}","starred_url":"https://api.github.com/users/jnunemaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnunemaker/subscriptions","organizations_url":"https://api.github.com/users/jnunemaker/orgs","repos_url":"https://api.github.com/users/jnunemaker/repos","events_url":"https://api.github.com/users/jnunemaker/events{/privacy}","received_events_url":"https://api.github.com/users/jnunemaker/received_events","type":"User","site_admin":true},"created_at":"2017-11-17T15:11:56Z","updated_at":"2017-11-17T15:11:56Z","author_association":"OWNER","body":"Closing this to keep things tidy here, but happy to continue to help when you get a chance to respond."}}
{"actor":{"display_login":"jnunemaker"}}