Trouble getting a top level page to Ember

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

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

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”

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"