Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vagrant up. `RubyGems' were not loaded. #13512

Open
levaconline opened this issue Oct 23, 2024 · 0 comments
Open

vagrant up. `RubyGems' were not loaded. #13512

levaconline opened this issue Oct 23, 2024 · 0 comments

Comments

@levaconline
Copy link

I'm not sure is it related to Vagrant or to Ruby. Crush happened after full system update (Arch linux)

Debug output

vagrant up
RubyGems' were not loaded. /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/bin/vagrant:89:in

': uninitialized constant Gem::Specification (NameError)

vagrant_spec = Gem::Specification.find_all_by_name("vagrant").detect do |spec|
^^^^^^^^^^^^^^^

Expected behavior

Actual behavior

Reproduction information

Vagrant version

vagrant -v
`RubyGems' were not loaded.
Vagrant 2.4.1

Host operating system

hostnamectl
Static hostname: asus-laptop
Icon name: computer-laptop
Chassis: laptop 💻
Operating System: Arch Linux
Kernel: Linux 6.11.5-arch1-1
Architecture: x86-64
Hardware Vendor: ASUSTeK COMPUTER INC.
Hardware Model: N750JK
Firmware Version: N750JK.203
Firmware Date: Wed 2014-05-21
Firmware Age: 10y 5month 3d

Guest operating system

Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-91-generic x86_64)

Steps to reproduce

Vagrantfile

# Copy-paste your Vagrantfile here. Remove any sensitive information such as passwords, authentication tokens, or email addresses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant