I was working on a project, and suddenly, any invocation to anything Ruby seems stopped working. All of them report missing dependencies.
I was uninstalling unrelated C/C++ -dev libraries before that, could be the cause because I didn't do anything else I would suspect.
I have tried reinstalling chefdk.deb (downloaded), I did sudo gem update --system
which changed (looks like improved) the stack trace, but the error is still the same:
05:56 ~/work/doc/cook 1$ kitchen
/usr/local/lib/site_ruby/2.3.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'net-scp' (~> 1.1) among 266 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/ondra/.gem/ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all', execute `gem env` for more information
from /usr/local/lib/site_ruby/2.3.0/rubygems/specification.rb:1468:in `block in activate_dependencies'
from /usr/local/lib/site_ruby/2.3.0/rubygems/specification.rb:1457:in `each'
from /usr/local/lib/site_ruby/2.3.0/rubygems/specification.rb:1457:in `activate_dependencies'
from /usr/local/lib/site_ruby/2.3.0/rubygems/specification.rb:1439:in `activate'
from /usr/local/lib/site_ruby/2.3.0/rubygems.rb:310:in `block in activate_bin_path'
from /usr/local/lib/site_ruby/2.3.0/rubygems.rb:309:in `synchronize'
from /usr/local/lib/site_ruby/2.3.0/rubygems.rb:309:in `activate_bin_path'
from /usr/local/bin/kitchen:23:in `<main>'
What should I do?