I use ruby 1.8.7 (2013-06-27 patchlevel 374) [i686-darwin14]. When I try to install capistrano gem, I get the following error:
ruby 1.8.7 (2013-06-27 patchlevel 374) [i686-darwin14]
sudo gem install capistrano -v2.13.5 ERROR: Error installing capistrano: net-ssh requires Ruby version >= 2.0.
AFAIK capistrano 2.13.5must be compatible withruby 1.8.7
capistrano 2.13.5
ruby 1.8.7
How to install capistrano v2.13.5using ruby 1.8.7(<2.0)?
capistrano v2.13.5
I sorted this problem manually by installing capistrano dependencies. Run the following commands if you have the same problem:
sudo gem install net-sftp -v2.0.0 sudo gem install net-scp -v1.0.0 sudo gem install net-ssh-gateway -v1.1.0 sudo gem install capistrano -v2.13.5
I had the same error message when installing Capifony on Ubuntu 14.04. I have done this:
# gem install net-ssh -v 2.9.2
And then this:
# gem install capifony
It worked.
I found the solution described here .
Capistrano (net-ssh), ruby 2.0. capistrano. , Ruby capistrano. net-ssh v 2.6.5. , :
gem install net-ssh -v 2.6.5 gem install capistrano -v 2.13.5
capistrano net-ssh, ruby >= 2.
, https://github.com/capistrano/capistrano/releases. , cd :
gem build capistrano.gemspec gem install --local capistrano-2.15.5.gem
Source: https://habr.com/ru/post/1610402/More articles:Interpreting output after using callback in javascript - javascriptDisabling mouse support on ideavim - vimDeep Learning Training Dataset with Caffe - deep-learningSelect a column to sort in datatables - datatablesXMLHttpRequest with gzip - javascriptHow compatible (will it be) TypeScript with ES6 (ECMAScript 2015) - javascriptConvert Data URI to SVG - svgПодтверждение пароля появляется перед вводом значения в текстовое поле - c#How to use LINQ provider from F #? - c #Java SSO with Wildfly 8, Java 1.8.0_45 and Active Directory - javaAll Articles