This chapter describes how to install Ruby on Rails for development systems.
Ruby on Rails 5.2 on Debian 9.3 (Stretch)
There are two main reasons for installing a
Ruby on Rails system
with Ruby Version Manager (RVM)
You do not have any root rights on the system, so you have no other option.
You want to run several Rails systems that are separated cleanly, and perhaps also separate Ruby versions. This can be easily done with RVM.
You can find detailed information about RVM on the RVM home page at
This description assumes you have a freshly installed instance of Debian GNU/Linux 9.3 ...