Skip to content

Commit

Permalink
Rephrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
frenesim committed May 23, 2015
1 parent e611313 commit c0a0de4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,10 @@ class Application < Rails::Application
end
```

### I'm getting "undefined method 'web_console'"
### Why I'm getting an undefined method `web_console` during boot?

Configuration should be set in a dedicated environment, not in the
application.rb.
Move your web-console configuration to config/environments/development.rb.
Make sure Web Console configuration lives in `config/environments/development.rb`
and not in `config/application.rb`.
If your are setting special environment don't forget to change your Gemfile
accordingly.

Expand All @@ -217,4 +216,4 @@ accordingly.
[templates]: https://github.com/rails/web-console/tree/master/lib/web_console/templates
[this]: https://github.com/rails/web-console/blob/master/lib/web_console/integration/cruby.rb#L20-L32
[rvt]: https://github.com/gsamokovarov/rvt
[contributors]: https://github.com/rails/web-console/graphs/contributors
[contributors]: https://github.com/rails/web-console/graphs/contributors

0 comments on commit c0a0de4

Please sign in to comment.