Closed ktimothy closed 6 years ago
LOOOOL, actually, I have found the problem :D
set :rbenv_ruby, `cat .ruby-version`
adds a newline to rbenv_ruby, which then leads to wrong generated test command
[-d $HOME/.rbenv/versions/2.5.1; ]
(note the semicolon).
Good catch! You can get rid of that newline with chomp
, like this:
set :rbenv_ruby, `cat .ruby-version`.chomp
Glad to hear you figured it out!
The message:
the directory exists:
capistrano 3.11.0, capistrano-rbenv 2.3.1
What may be the problem with it?