Установите Ruby on Rails Ubuntu 18.04

# Use rvm to install Ruby
# https://rvm.io/
# then in the console use this command
# gem install rails

# Now enjoy using rails
schwarz_koder