{"action":"created","issue":{"url":"https://api.github.com/repos/netguru/react_webpack_rails/issues/93","repository_url":"https://api.github.com/repos/netguru/react_webpack_rails","labels_url":"https://api.github.com/repos/netguru/react_webpack_rails/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/netguru/react_webpack_rails/issues/93/comments","events_url":"https://api.github.com/repos/netguru/react_webpack_rails/issues/93/events","html_url":"https://github.com/netguru/react_webpack_rails/issues/93","id":151338503,"number":93,"title":"undefined method `keys' for nil:NilClass","user":{"login":"kalashnikovisme","id":2001025,"avatar_url":"https://avatars.githubusercontent.com/u/2001025?v=3","gravatar_id":"","url":"https://api.github.com/users/kalashnikovisme","html_url":"https://github.com/kalashnikovisme","followers_url":"https://api.github.com/users/kalashnikovisme/followers","following_url":"https://api.github.com/users/kalashnikovisme/following{/other_user}","gists_url":"https://api.github.com/users/kalashnikovisme/gists{/gist_id}","starred_url":"https://api.github.com/users/kalashnikovisme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalashnikovisme/subscriptions","organizations_url":"https://api.github.com/users/kalashnikovisme/orgs","repos_url":"https://api.github.com/users/kalashnikovisme/repos","events_url":"https://api.github.com/users/kalashnikovisme/events{/privacy}","received_events_url":"https://api.github.com/users/kalashnikovisme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-27T09:21:44Z","updated_at":"2016-04-27T12:11:42Z","closed_at":null,"body":"After install gem and `rails g react_webpack_rails:install` I have this error:\r\n\r\n```ruby\r\nundefined method `keys' for nil:NilClass\r\n```\r\n\r\non this line\r\n\r\n```ruby\r\n= javascript_include_tag 'application'\r\n```"},"comment":{"url":"https://api.github.com/repos/netguru/react_webpack_rails/issues/comments/215063474","html_url":"https://github.com/netguru/react_webpack_rails/issues/93#issuecomment-215063474","issue_url":"https://api.github.com/repos/netguru/react_webpack_rails/issues/93","id":215063474,"user":{"login":"kalashnikovisme","id":2001025,"avatar_url":"https://avatars.githubusercontent.com/u/2001025?v=3","gravatar_id":"","url":"https://api.github.com/users/kalashnikovisme","html_url":"https://github.com/kalashnikovisme","followers_url":"https://api.github.com/users/kalashnikovisme/followers","following_url":"https://api.github.com/users/kalashnikovisme/following{/other_user}","gists_url":"https://api.github.com/users/kalashnikovisme/gists{/gist_id}","starred_url":"https://api.github.com/users/kalashnikovisme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalashnikovisme/subscriptions","organizations_url":"https://api.github.com/users/kalashnikovisme/orgs","repos_url":"https://api.github.com/users/kalashnikovisme/repos","events_url":"https://api.github.com/users/kalashnikovisme/events{/privacy}","received_events_url":"https://api.github.com/users/kalashnikovisme/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T12:11:42Z","updated_at":"2016-04-27T12:11:42Z","body":"@mxaly \r\n\r\n* I haven't this error before.\r\n* It's failing after remove\r\n\r\n```javascript\r\n//= require react_integration\r\n//= require react_bundle\r\n```\r\n\r\n* Stack trace\r\n\r\n```\r\nNoMethodError - undefined method `keys' for nil:NilClass:\r\n  react-rails (1.3.1) lib/react/jsx/babel_transformer.rb:8:in `initialize'\r\n  react-rails (1.3.1) lib/react/jsx.rb:19:in `transform'\r\n  react-rails (1.3.1) lib/react/jsx/template.rb:13:in `evaluate'\r\n  tilt (2.0.1) lib/tilt/template.rb:96:in `render'\r\n  sprockets (3.4.0) lib/sprockets/legacy_tilt_processor.rb:25:in `call'\r\n  sprockets (3.4.0) lib/sprockets/processor_utils.rb:75:in `call_processor'\r\n  sprockets (3.4.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'\r\n  sprockets (3.4.0) lib/sprockets/processor_utils.rb:56:in `call_processors'\r\n  sprockets (3.4.0) lib/sprockets/loader.rb:134:in `load_from_unloaded'\r\n  sprockets (3.4.0) lib/sprockets/loader.rb:60:in `block in load'\r\n  sprockets (3.4.0) lib/sprockets/loader.rb:318:in `fetch_asset_from_dependency_cache'\r\n  sprockets (3.4.0) lib/sprockets/loader.rb:44:in `load'\r\n  sprockets (3.4.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'\r\n  sprockets (3.4.0) lib/sprockets/cached_environment.rb:47:in `load'\r\n  sprockets (3.4.0) lib/sprockets/bundle.rb:23:in `block in call'\r\n  sprockets (3.4.0) lib/sprockets/utils.rb:183:in `dfs'\r\n  sprockets (3.4.0) lib/sprockets/bundle.rb:24:in `call'\r\n  sprockets (3.4.0) lib/sprockets/processor_utils.rb:75:in `call_processor'\r\n  sprockets (3.4.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'\r\n  sprockets (3.4.0) lib/sprockets/processor_utils.rb:56:in `call_processors'\r\n  sprockets (3.4.0) lib/sprockets/loader.rb:134:in `load_from_unloaded'\r\n  sprockets (3.4.0) lib/sprockets/loader.rb:60:in `block in load'\r\n  sprockets (3.4.0) lib/sprockets/loader.rb:318:in `fetch_asset_from_dependency_cache'\r\n  sprockets (3.4.0) lib/sprockets/loader.rb:44:in `load'\r\n  sprockets (3.4.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'\r\n  sprockets (3.4.0) lib/sprockets/cached_environment.rb:47:in `load'\r\n  sprockets (3.4.0) lib/sprockets/base.rb:66:in `find_asset'\r\n  sprockets (3.4.0) lib/sprockets/environment.rb:30:in `find_asset'\r\n  sprockets (3.4.0) lib/sprockets/base.rb:92:in `[]'\r\n  sprockets-rails (2.3.3) lib/sprockets/rails/helper.rb:230:in `lookup_asset_for_path'\r\n  sprockets-rails (2.3.3) lib/sprockets/rails/helper.rb:190:in `check_errors_for'\r\n  sprockets-rails (2.3.3) lib/sprockets/rails/helper.rb:137:in `block in javascript_include_tag'\r\n  sprockets-rails (2.3.3) lib/sprockets/rails/helper.rb:136:in `javascript_include_tag'\r\n  app/views/layouts/application.html.slim:7:in `_app_views_layouts_application_html_slim__2375968872894422707_52819900'\r\n```\r\n\r\n* react-rails gem working fine in app. Version 1.3.1. May be I should update it?"}}