"No Rakefile found" upon running example command

I am trying to run basic commands from this page, starting with the first one: fly ssh console -C "app/bin/rails db:migrate" But this command returns an error on a perfectly well deployed app: rails aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) In fact, …