1:
Add this to your Gemfile:
gem 'net-ssh'
and run bundle install
after that.
2:(正确)
Alternatively, add this to your Gemfile:
gem 'fog', '~> 1.36.0'
and run bundle install
. This worked for me, because I was hitting a bug introduced in 1.35.0
: https://github.com/fog/fog/issues/3765