# Trouble getting a top level page to Ember

**URL:** <https://meta.discourse.org/t/trouble-getting-a-top-level-page-to-ember/56007>\
**Category:** Development\
**Created:** [19 Enero, 2017 06:11 UTC](https://meta.discourse.org/t/trouble-getting-a-top-level-page-to-ember/56007 "2017-01-19T06:11:45Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [26 Enero, 2017 20:29 UTC](https://meta.discourse.org/t/trouble-getting-a-top-level-page-to-ember/56007/17 "2017-01-26T20:29:16Z")

</div>

For the “hacK” install I was able to `cd ~/discourse` and run `rake about`

```plaintext
Rails version 4.2.7.1
Ruby version 2.3.0-p0 (x86_64-linux)
RubyGems version 2.6.8
Rack version 1.6.5
JavaScript Runtime mini_racer (V8)
Middleware MessageBus::Rack::Middleware, 
  Rack::MiniProfiler, 
  Middleware::TurboDev, 
  Middleware::MissingAvatars, 
  Rack::Sendfile, 
  ActionDispatch::Static, 
  Rack::Runtime, 
  Rack::MethodOverride, 
  ActionDispatch::RequestId, 
  SilenceLogger, 
  Logster::Middleware::Reporter, 
  ActionDispatch::ShowExceptions, 
  Logster::Middleware::DebugExceptions, 
  BetterErrors::Middleware, 
  ActionDispatch::RemoteIp, 
  ActionDispatch::Reloader, 
  ActionDispatch::Callbacks, 
  ActiveRecord::Migration::CheckPending, 
  ActiveRecord::ConnectionAdapters::ConnectionManagement, 
  ActiveRecord::QueryCache, 
  ActionDispatch::Cookies, 
  ActionDispatch::Session::DiscourseCookieStore, 
  ActionDispatch::Flash, 
  ActionDispatch::ParamsParser, 
  Rack::Head, 
  Rack::ConditionalGet, 
  OmniAuth::Builder, 
  Rack::Protection::FrameOptions
Application root /home/mittineague/discourse
Environment development
Database adapter postgresql
Database schema version 20161216101352

```

For the “clean” I was able to `cd /var/discourse` then `./launcher enter app` then `rake about`

```plaintext
Rails version 4.2.7.1
Ruby version 2.3.3-p222 (x86_64-linux)
RubyGems version 2.5.2
Rack version 1.6.5
JavaScript Runtime mini_racer (V8)
Middleware Middleware::RequestTracker, 
  MessageBus::Rack::Middleware, 
  Rack::MiniProfiler, 
  Rack::Sendfile, 
  Rack::Runtime, 
  Rack::MethodOverride, 
  ActionDispatch::RequestId, 
  SilenceLogger, 
  Logster::Middleware::Reporter, 
  ActionDispatch::ShowExceptions, 
  Logster::Middleware::DebugExceptions, 
  ActionDispatch::RemoteIp, 
  ActionDispatch::Callbacks, 
  ActiveRecord::ConnectionAdapters::ConnectionManagement, 
  ActiveRecord::QueryCache, 
  ActionDispatch::Cookies, 
  ActionDispatch::Session::DiscourseCookieStore, 
  ActionDispatch::Flash, 
  ActionDispatch::ParamsParser, 
  Middleware::AnonymousCache, 
  Rack::Head, 
  Rack::ConditionalGet, 
  OmniAuth::Builder, 
  Rack::Protection::FrameOptions
Application root /var/www/discourse
Environment production
Database adapter postgresql
Database schema version 20161216101352

```

EDIT  
To make it easier to see differences in the Middleware, here’s my list. The first is what’s in “hack” (aka development) that isn’t in “clean” (aka production), the second what’s in “clean” that isn’t in “hack”

```plaintext
array(6) {
  [4]=>
  string(24) "ActionDispatch::Reloader"
  [9]=>
  string(22) "ActionDispatch::Static"
  [11]=>
  string(37) "ActiveRecord::Migration::CheckPending"
  [13]=>
  string(24) "BetterErrors::Middleware"
  [17]=>
  string(26) "Middleware::MissingAvatars"
  [18]=>
  string(20) "Middleware::TurboDev"
}
array(2) {
  [13]=>
  string(26) "Middleware::AnonymousCache"
  [14]=>
  string(26) "Middleware::RequestTracker"

```

---

_[View the full topic](https://meta.discourse.org/t/trouble-getting-a-top-level-page-to-ember/56007)._
