replacing rails:latest with ubuntu:latest and used rbenv to buid my own rails environment. Reason being; there were problems found while running rails new <application> with rails:latest