Let's check to see if Ruby on Rails is present with the list command.
$ gem list rails $ gem install rails --include-dependencies