Comments (4)
In the error message I see there is a backslash before $HOME
in the shell script that is being run:
if test ! -d \$HOME/.rbenv/plugins/ruby-build; ...
Likely that is the cause of the error. The shell is looking for the literal $HOME
path instead of expanding the variable.
This was discussed in #88. Unfortunately, the fix caused other problems and had to be reverted.
I think the workaround is to use ~
instead of $HOME
. Can you try that? Something like this:
set :rbenv_path, "~/.rbenv"
from rbenv.
Also, my guess is that the escaping behavior changed in sshkit at some point, and that is why your upgrade caused this error to appear. Can you check if the sshkit version changed pre- and post-upgrade?
from rbenv.
Ah yeah I did look at sshkit but running 1.21.2 on both.
I set rbenv_path
(with full path) and that did solve it, thanks. I did see that other thread but I think I got confused between rbenv_prefix and rbenv_path. This workaround should be fine for us. Thanks again
from rbenv.
Shouldn't you change line 43 to '~/.rbenv' to fix this before closing it? I got bit by this too without any setting for rbenv_path.
from rbenv.
Related Issues (20)
- More informative error messages HOT 1
- rbenv not installed or found in failing cap deploy HOT 2
- rbenv:validate fails erroneously HOT 2
- Validation warning possibly needs clarification HOT 1
- Bundler executable not available HOT 9
- Add a global version HOT 5
- ruby is not installed or not found HOT 2
- p
- Licence missing in the rubygems version and in the gemspec HOT 3
- rbenv:install task?
- No hooks version
- specifying and updating bundler HOT 2
- deploy to server, where rbenv isn't used at all HOT 1
- Proposal to rename rbenv_map_bins to ruby_map_bins HOT 3
- deploy gets stuck and doesn't print anything HOT 3
- Why is capistrano unable to find rake? HOT 1
- bash: /home/myuser/.rbenv/bin/rbenv: No such file or directory when production deploying HOT 7
- Warning messages when trying to deploy
- Capistrano unable to locate rbenv correctly HOT 2
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 rbenv.