You would like to get access to your rails application console on an Amazon ec2 instance, and you are also using rvm.
- Login with ssh to your server as normal:
1ssh firstname.lastname@example.org -i amazon_key
- Go to your application’s current folder:
- Run the following replacing the environment with your specific environment (ie production,beta,staging etc):
1bundle exec rails c environment