Added code to install ruby 2.1.0 and rails