Report this

What is the reason for this report?

Trying to add my rails app to rails droplet

Posted on August 8, 2020

"Command ‘rails’ not found, but can be installed with:

apt install ruby-railties"

"Command ‘rake’ not found, but can be installed with:

snap install ruby # version 2.7.1, or apt install rake"

I am getting these errors when trying step 8 from below.

  1. make sure to create /home/index.html as your first/index page and point your route there before you push to git 2.install git apt-get install git 3.ssh to your digitalocean domain 4.navigate to cd /home/rails 5.delete folder “rails”
  2. clone your rails repo from github git clone YOUR_REMOTE_ADDRESS
  3. rename the downloaded repo to rails mv OLD_FOLDER NEW_FOLDER 8.setup your db rake db:drop db:create db:migrate 9.run rails server like so rails s --binding=YOUR_IP_ADDRESS


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.