cannot set ENV['RAILS_RELATIVE_URL_ROOT']

See #1946 Setting a relative root URL via a web server not possible anymore - Ruby on Rails - rails

You must set config.action_controller.relative_url_root = 'something' now instead of using the environment variable.

jeremy