Add the rails gem to the ruby environment.