Install
Install Ruby on Rails using RubyGems.
gem install rails
Verify the Installation
Verify that you have successfully installed Ruby on Rails.
rails --version
Before starting: Make sure you have the necessary folders and permissions — get more information.
Install Ruby on Rails using RubyGems.
gem install rails
Verify that you have successfully installed Ruby on Rails.
rails --version