How to get into Rails console on App Platform

Posted May 11, 2021 98 views
Ruby on RailsRubyDigitalOcean App Platform

I have a Rails app deployed to Digitalocean App Platform but I cannot see a way to access to the rails console. If I go to “Console” on the web page and execute the console command the output is an error:

integer 2558122467 too big to convert to `int' (RangeError)

How do I access rails console for an app on App Platform? This is a deal breaker for me to not to use this service.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello @beydogan

You can try to run the following command in the console to start it:

rails c -e p

If the issue persists then please feel free to contact support.


  • Hello @dikshith thanks for the reply.

    I’ve just tried that and it doesn’t work, still the same error.

    RAILS_ENV is “production” anyways in the console so it is not needed to set environment explicitly.