How to run multiple Rails applications from the same directory

Set this in **environment.rb**: ```ruby ActionController::AbstractRequest.relative_url_root = "/appname/" ActionController::CgiRequest.relative_url_root = "/appname/" ```