How To Install Ruby on Rails on FreeBSD 10.1 using RVM

Because Ruby on Rails is a gem, it can be easily installed using RubyGems (Ruby's package management framework) using gem install rails . However, this installation will take a while to complete because it includes lots of other gems (some of which need to be compiled) and their documentation files. You can speed up this command considerably by adding the --no-rdoc --no-ri flags, which will skip the documentation installation.