Azure Rails WebAPP - how to run rails console on production

Maciej Satkiewicz 1 Reputation point

I'd like to run rails console on production server in production environment. I couldn't figure that out neither from webssh nor the webconsole.

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,555 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 14,086 Reputation points Microsoft Employee

    Welcome to Microsoft Q&A. Thanks for posting a good question.

    Apologies for the delay! You can try "bundle exec rails console" from ssh. Note that Ruby apps must be deployed with all the required gems. This guide provides key concepts and instructions for Ruby developers who use a built-in Linux container in App Service.

    Kindly let us know if it helps or you need further assistance, we will be more than happy to assist you further. Please do share more details on your requirement.