config machine with ruby 2.1 rvm and phantom