Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MichaelCPell/4726639 to your computer and use it in GitHub Desktop.
Save MichaelCPell/4726639 to your computer and use it in GitHub Desktop.
Error when trying to start Discourse on Heroku.
2013-02-06T22:42:52+00:00 app[web.1]: ActionView::Template::Error (undefined method `first' for nil:NilClass):
2013-02-06T22:42:52+00:00 app[web.1]: 119:
2013-02-06T22:42:52+00:00 app[web.1]: 120: <script>
2013-02-06T22:42:52+00:00 heroku[router]: at=info method=GET path=/ host=pell-discourse.herokuapp.com fwd=4.59.160.126 dyno=web.1 queue=0 wait=0ms connect=2ms service=223ms status=500 bytes=0
2013-02-06T22:42:52+00:00 app[web.1]: 121: Discourse.CDN = '<%= Rails.configuration.action_controller.asset_host %>';
2013-02-06T22:42:52+00:00 app[web.1]: 122: Discourse.BaseUrl = '<%= RailsMultisite::ConnectionManagement.current_hostname %>';
2013-02-06T22:42:52+00:00 app[web.1]: 123: Discourse.Environment = '<%= Rails.env %>';
2013-02-06T22:42:52+00:00 app[web.1]: 124: window.Discourse.Router.map(function() {
2013-02-06T22:42:52+00:00 app[web.1]: 125: return Discourse.routeBuilder.call(this);
2013-02-06T22:42:52+00:00 app[web.1]: app/views/layouts/application.html.erb:122:in `_app_views_layouts_application_html_erb___2794346783181052136_53492240'
2013-02-06T22:42:52+00:00 app[web.1]: app/controllers/list_controller.rb:68:in `block (2 levels) in respond'
2013-02-06T22:42:52+00:00 app[web.1]: app/controllers/list_controller.rb:64:in `respond'
2013-02-06T22:42:52+00:00 app[web.1]: app/controllers/list_controller.rb:27:in `block (2 levels) in <class:ListController>'
2013-02-06T22:42:52+00:00 app[web.1]: config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
2013-02-06T22:42:52+00:00 app[web.1]: config/initializers/silence_logger.rb:19:in `call'
2013-02-06T22:42:52+00:00 app[web.1]:
2013-02-06T22:42:52+00:00 app[web.1]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment