Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open rails console when doing ssh through mina #435

Closed
Shwetakale opened this issue Sep 15, 2016 · 1 comment
Closed

Can't open rails console when doing ssh through mina #435

Shwetakale opened this issue Sep 15, 2016 · 1 comment

Comments

@Shwetakale
Copy link

I am using mina version 0.3.8. But when I do ssh with mina

mina ssh on=staging

I am not able to open rails c

bundle exec rails c satging
bundler: command not found: rails
Install missing gem executables with `bundle install`

It used to work fine with earlier version of mina i.e. 0.3.7. On same server when I do normal ssh I am able to open console and even with mina

mina "rails[c]" on=staging

is working fine. Am I missing something in setup or issue introduced in newer version of gem?

@d4be4st
Copy link
Member

d4be4st commented Sep 17, 2016

i do not know what on is, but your server is not configured properly.
Your deploy user/non-interactive shell mina uses does not have access to gems.

Plesae take a look at our FAQ. https://github.com/mina-deploy/mina/blob/master/docs/faq.md

@d4be4st d4be4st closed this as completed Sep 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants