{"action":"created","issue":{"url":"https://api.github.com/repos/shakacode/react_on_rails/issues/129","labels_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/129/comments","events_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/129/events","html_url":"https://github.com/shakacode/react_on_rails/pull/129","id":119236466,"number":129,"title":"rewrite NODE_ENV as nodeEnv so the two mentions of the variable match up","user":{"login":"marcellosachs","id":1789723,"avatar_url":"https://avatars.githubusercontent.com/u/1789723?v=3","gravatar_id":"","url":"https://api.github.com/users/marcellosachs","html_url":"https://github.com/marcellosachs","followers_url":"https://api.github.com/users/marcellosachs/followers","following_url":"https://api.github.com/users/marcellosachs/following{/other_user}","gists_url":"https://api.github.com/users/marcellosachs/gists{/gist_id}","starred_url":"https://api.github.com/users/marcellosachs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcellosachs/subscriptions","organizations_url":"https://api.github.com/users/marcellosachs/orgs","repos_url":"https://api.github.com/users/marcellosachs/repos","events_url":"https://api.github.com/users/marcellosachs/events{/privacy}","received_events_url":"https://api.github.com/users/marcellosachs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-27T18:57:54Z","updated_at":"2015-11-27T19:13:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/129","html_url":"https://github.com/shakacode/react_on_rails/pull/129","diff_url":"https://github.com/shakacode/react_on_rails/pull/129.diff","patch_url":"https://github.com/shakacode/react_on_rails/pull/129.patch"},"body":"when trying to run `foreman start -f Procfile.dev`, I was getting the error - \r\n`ReferenceError: NODE_ENV is not defined`\r\n\r\nThen when I checked in webpack.server.rails.config.js I noticed that the variable `NODE_ENV` was indeed not defined, though a variable `nodeEnv` was. My guess is that `NODE_ENV` and `nodeEnv` are intended to mean the same thing, so I rewrote `NODE_ENV` to `nodeEnv` so they match up. After doing this, I no longer received the `ReferenceError` when running `foreman`."},"comment":{"url":"https://api.github.com/repos/shakacode/react_on_rails/issues/comments/160192314","html_url":"https://github.com/shakacode/react_on_rails/pull/129#issuecomment-160192314","issue_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/129","id":160192314,"user":{"login":"marcellosachs","id":1789723,"avatar_url":"https://avatars.githubusercontent.com/u/1789723?v=3","gravatar_id":"","url":"https://api.github.com/users/marcellosachs","html_url":"https://github.com/marcellosachs","followers_url":"https://api.github.com/users/marcellosachs/followers","following_url":"https://api.github.com/users/marcellosachs/following{/other_user}","gists_url":"https://api.github.com/users/marcellosachs/gists{/gist_id}","starred_url":"https://api.github.com/users/marcellosachs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcellosachs/subscriptions","organizations_url":"https://api.github.com/users/marcellosachs/orgs","repos_url":"https://api.github.com/users/marcellosachs/repos","events_url":"https://api.github.com/users/marcellosachs/events{/privacy}","received_events_url":"https://api.github.com/users/marcellosachs/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T19:13:03Z","updated_at":"2015-11-27T19:13:03Z","body":"@justin808 ok gotcha. Noticing now that my second commit also addresses something (missing definition of `devBuild`) that is not an issue in the react-webpack-rails-tutorial repo."}}