How to install Ruby gem in Ubuntu?
Ubuntu. Open up the 'Software Center' app from your launcher and type in `RubyGems` without quotes into the application search box at the top right, and press [enter]. RubyGems then can be installed by just clicking on the button labeled 'Install', thats it.
How to install Rails on Ubuntu?
Rails can be installed using the gem install command. Execute the following command to install Rails on ubuntu 20.04. You can use gem install rails –version=<version> command to install specific version of Rails. Use the following command to verify Rails installation on your system.