Install
Install Ruby on Rails using RubyGems.
gem install rails
Verify the Installation
To verify that you have correctly installed Ruby on Rails, execute the following command. It should display the version number.
rails -v
Install Ruby on Rails using RubyGems.
gem install rails
To verify that you have correctly installed Ruby on Rails, execute the following command. It should display the version number.
rails -v