I have set up a RoR environement on AWS\' elastic beanstalk. I am able to ssh into my EC2 instance. My home directory is /home/ec2-user, which is effective
add an eb extension shortcut:
# .ebextensions/irb.config files: "/home/ec2-user/irb": mode: "000777" owner: root group: root content: | sudo su - -c 'cd /var/app/current; bundle exec rails c'
then:
$ eb ssh $ ./irb irb(main):001:0>