Azure Rails WebAPP - how to run rails console on production

Maciej Satkiewicz 1 Reputation point
2020-03-22T12:24:46.017+00:00

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 Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,866 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 22,401 Reputation points Microsoft Employee
    2020-03-24T21:49:49.857+00:00

    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.

    0 comments No comments