Forgot to put the if statement around the SSL version of RailsAutoDetect.