define ruby version, add rack subdomaion redirection