I have found Can't install chef, gem version conflict with net-ssh net-ssh-multi net-ssh-gateway in my research, but unfortunately none of those workarounds work for me in my particular case.
I'm trying to bootstrap chef on an EC2 instance.
I cannot upgrade to 11.x.
This one does not work: (added command I run to install chef which includes --verbose and --version)
gem install net-ssh -v 2.2.2 --no-ri --no-rdoc
gem install net-ssh-gateway -v 1.1.0 --no-ri --no-rdoc --ignore-dependencies
gem install net-ssh-multi -v 1.1.0 --no-ri --no-rdoc --ignore-dependencies
gem install chef --no-ri --no-rdoc --verbose --version 0.10.8
Is there any way to work around this problem without upgrading chef?
I've also tried the above but with
gem install chef --pre --no-ri --no-rdoc
and that fails too. These are both workarounds outlined in the linked post above.