Skip to content

Issue with the "Running Tasks & Consoles" doc #2256

@dsomel21

Description

@dsomel21

I found an issue with this document.

Title: Running Tasks & Consoles
Location: https://fly.io/docs/rails/the-basics/run-tasks-and-consoles/
Source: https://github.com/superfly/docs/blob/main/rails/the-basics/run-tasks-and-consoles.html.md

Describe the issue

I haven't been able to get into the rails console in my Rails-Fly app (See here).

➜  beta.spg.dev git:(themes) fly ssh console -a spg -C "/rails/bin/rails console"

Connecting to fdaa:2:4ebf:a7b:175:7679:482f:2... complete
fork/exec /rails/bin/rails: no such file or directory
Error: ssh shell: ssh: command /rails/bin/rails console failed

I have also tried to SSH into with fly ssh console -a spg and tried to do things like bin/rails c or bundle exec rails c.

I also tried doing sh first so it executes bash, but didn't have any luck.

Additional info

Here is a screenshot:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions