# install specific rails version https://rubygems.org/gems/rails/versions gem install rails -v 5.2.4.1
sudo gem install sqlite3-ruby
gem install rails -v 5.2.4.1