Skip to content

Instantly share code, notes, and snippets.

@schuam
Created August 19, 2022 21:46
Show Gist options
  • Save schuam/87cb9aab292ccdb1a16f5c2a06b61b6e to your computer and use it in GitHub Desktop.
Save schuam/87cb9aab292ccdb1a16f5c2a06b61b6e to your computer and use it in GitHub Desktop.
Vagrant issue: host Arch Linux, missing delegate
>> vagrant status
/usr/lib/ruby/3.0.0/rubygems/specification.rb:1453:in `rescue in block in activate_dependencies': Could not find 'delegate' (>= 0) among 99 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/opt/vagrant/embedded/gems/2.3.0' at: /usr/lib/ruby/gems/3.0.0/specifications/weakref-0.1.1.gemspec, execute `gem env` for more information
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1450:in `block in activate_dependencies'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1439:in `each'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1439:in `activate_dependencies'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1421:in `activate'
from /usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb:68:in `block in gem'
from /usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb:68:in `synchronize'
from /usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb:68:in `gem'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:73:in `require'
from /opt/vagrant/embedded/gems/2.3.0/gems/grpc-1.48.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:16:in `<top (required)>'
from /opt/vagrant/embedded/gems/2.3.0/gems/grpc-1.48.0-x86_64-linux/src/ruby/lib/grpc.rb:25:in `require_relative'
from /opt/vagrant/embedded/gems/2.3.0/gems/grpc-1.48.0-x86_64-linux/src/ruby/lib/grpc.rb:25:in `<top (required)>'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb:4:in `<top (required)>'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/plugins/kernel_v2/config/vm.rb:17:in `<top (required)>'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/plugins/kernel_v2/plugin.rb:39:in `block in <class:Plugin>'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/registry.rb:27:in `get'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/v2/root.rb:28:in `method_missing'
from /home/andreas/projects/active/ansible_computer_setup/Vagrantfile:8:in `block in <top (required)>'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/v2/loader.rb:37:in `load'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:126:in `block (2 levels) in load'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:119:in `each'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:119:in `block in load'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:116:in `each'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:116:in `load'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/vagrantfile.rb:31:in `initialize'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/environment.rb:817:in `new'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/environment.rb:817:in `vagrantfile'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/environment.rb:998:in `process_configured_plugins'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/environment.rb:189:in `initialize'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/bin/vagrant:211:in `new'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/bin/vagrant:211:in `<main>'
/usr/lib/ruby/3.0.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'delegate' (>= 0) among 99 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/opt/vagrant/embedded/gems/2.3.0' , execute `gem env` for more information
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1451:in `block in activate_dependencies'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1439:in `each'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1439:in `activate_dependencies'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1421:in `activate'
from /usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb:68:in `block in gem'
from /usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb:68:in `synchronize'
from /usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb:68:in `gem'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:73:in `require'
from /opt/vagrant/embedded/gems/2.3.0/gems/grpc-1.48.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:16:in `<top (required)>'
from /opt/vagrant/embedded/gems/2.3.0/gems/grpc-1.48.0-x86_64-linux/src/ruby/lib/grpc.rb:25:in `require_relative'
from /opt/vagrant/embedded/gems/2.3.0/gems/grpc-1.48.0-x86_64-linux/src/ruby/lib/grpc.rb:25:in `<top (required)>'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb:4:in `<top (required)>'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/plugins/kernel_v2/config/vm.rb:17:in `<top (required)>'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/plugins/kernel_v2/plugin.rb:39:in `block in <class:Plugin>'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/registry.rb:27:in `get'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/v2/root.rb:28:in `method_missing'
from /home/andreas/projects/active/ansible_computer_setup/Vagrantfile:8:in `block in <top (required)>'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/v2/loader.rb:37:in `load'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:126:in `block (2 levels) in load'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:119:in `each'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:119:in `block in load'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:116:in `each'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/config/loader.rb:116:in `load'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/vagrantfile.rb:31:in `initialize'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/environment.rb:817:in `new'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/environment.rb:817:in `vagrantfile'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/environment.rb:998:in `process_configured_plugins'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/lib/vagrant/environment.rb:189:in `initialize'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/bin/vagrant:211:in `new'
from /opt/vagrant/embedded/gems/2.3.0/gems/vagrant-2.3.0/bin/vagrant:211:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment