Fixed bug where ruby gems were not installed.
Also added RVM details so that correct ruby version is used be default