rbenv was having issues and this seemed to solve it. I have parameterized the ruby version