Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Access rails console from AWS elastic beanstalk

$
0
0

I have a ROR app but it's the first time I am using AWS, usually I use heroku.

Is there any way to run the equivalent of heroku run rails c?

I want to access my rails console to update some stuff in my database.

I've checked online and tried

  cd /var/app current   

It tells me that there is no such file or directory. I've also tried

  sudo su  bundle exec rails c production

It is not loading the console but only shows me sh-3.2 at the start of the console line.

I've also tried eb ssh but it does not recognize eb.

Could someone explain to me how I can access the rails console and why I have to run the given commands. I don't understand.

Thanks a lot!


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>