Fixes some conflicts related to rack and rack-session which are pulled in by railties without any reason.