In this tutorial you will install enough software to develop Ruby on Rails applications.
This one line is all you need to develop and run Ruby on Rails applications. This is a great way to get started, but is unsuitable for deployment.
$ sudo yum install rubygem-rails rubygem-sqlite3-ruby
Note that this will install the latest version approved and tested by Fedora's maintainers, so it is usually not the latest version. Once these are installed, they will be updated by Fedora's built-in software updater.
$ sudo yum install rubygems
Once RubyGems is installed, use it to install Rails:
$ sudo gem install rails
This can be updated using gem update to get the latest versions of all installed gems. You will also need the sqlite3 adapter:
$ sudo yum install ruby-sqlite3
Many popular web server configurations are available for Linux. Please see:
Discussion