```ruby
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment',  __FILE__)

run Rails.application
```

Revert "run app out of directory"
user
```ruby
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment',  __FILE__)

map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do
  run Rails.application
end
```
assistant