Skip to content

Instantly share code, notes, and snippets.

@t-min
Created October 27, 2015 18:39
Show Gist options
  • Save t-min/30ff6a482eff82cb80db to your computer and use it in GitHub Desktop.
Save t-min/30ff6a482eff82cb80db to your computer and use it in GitHub Desktop.
config.ru
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
#run RedmineApp::Application
if ENV['RAILS_RELATIVE_URL_ROOT']
map ENV['RAILS_RELATIVE_URL_ROOT'] do
run RedmineApp::Application
end
else
run RedmineApp::Application
end
#require ::File.expand_path('../config/environment', __FILE__)
#run RedmineApp::Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment