Comments (3)
I guess you have a capistrano task (yourself or through another gem) that detects your rbenv environment and that for some reason this check is run the the local backend (https://github.com/capistrano/sshkit/blob/master/lib/sshkit/backends/local.rb).
If that is not the case maybe the opposite is the case, a task that detects the remote rbenv environment is not executed before trying to ssh into your server.
Can you verify that there is a task that detects your rbenv env? Setting the log level to debug might help to see what is happening before the console ssh session is established.
set :log_level, :debug
from capistrano-rails-console.
@mathiasuhl manage to fix it?
from capistrano-rails-console.
This is a duplicate of #29.
Discussion on this will be done on #29.
from capistrano-rails-console.
Related Issues (20)
- need supporting for "keys" in ssh options HOT 2
- Console command doesnt run Permission denied HOT 5
- Error - undefined method `environment_string' for #<SSHKit..> HOT 5
- Connection to x.x.x.x closed. HOT 15
- Doesn't support keyfile as set in ssh_options HOT 1
- Feature Request: rails dbconsole HOT 3
- Cannot use v2.0.0 HOT 6
- getting error: ArgumentError: wrong number of arguments (given 1, expected 2) HOT 5
- How can I set ssh port? HOT 5
- Error: No such file or directory HOT 10
- Console task overwrites default rails console task for development stage HOT 1
- getting /bin/sh: 26: [[: not found HOT 5
- Feature Request: Add ability to customize role HOT 1
- Error: Don't know how to build task 'rails:console' HOT 2
- Deprecation warning HOT 2
- Aliasing rails:c to rails:console HOT 1
- Not compatible with Capistrano 3.4.0 / Should be Capistrano issue HOT 3
- Won't work with capistrano-bundler HOT 4
- Setting custom port in "deply/environment.rb" doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano-rails-console.