===== Installing Ruby on Rails on Fedora =====
In this tutorial you will install enough software to develop Ruby on Rails applications.
==== Install from Fedora's repository ====
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.
==== Install Rails via RubyGems ====
$ 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
==== Deployment ====
Many popular web server configurations are available for Linux. Please see:
* [[deployment/apache-mongrel|Apache + mongrel]]
* [[deployment/apache-passenger|Apache + Passenger]]
* [[deployment/nginx-mongrel|Nginx + mongrel]]
* [[deployment/nginx-thin|Nginx + thin]]