Closed ahasunos closed 5 months ago
I had this issue as well. I'm running an M1 mac (arm64) and it looks like the issue started (as far as I can tell) on the first version Hashicorp started publishing arm64 versions of vagrant: 2.3.5.
A work around until they fix it is to:
mv /opt/vagrant/embedded/lib/ruby/gems/3.1.0/specifications/default/json-2.6.1.gemspec /opt/vagrant/embedded/lib/ruby/gems/3.1.0/specifications/default/json-2.6.1.gemspec.bak
/opt/vagrant/embedded/lib/ruby/3.1.0/json/version.rb
change VERSION = '2.6.1'
to `VERSION = '2.6.3'After those steps you should be able to run vagrant plugin install vagrant-aws
2. /opt/vagrant/embedded/lib/ruby/3.1.0/json/version.rb
this also worked for a fresh ubuntu install on wsl2 :-)
THIS DID THE TRICK!
Debug output
Please expand to see the debug log
Expected behavior
It should be able to install plugin
Actual behavior
Crashing with issue of
can't activate json-2.6.3, already activated json-2.6.1 (Gem::LoadError)
Reproduction information
Vagrant version
2.3.7
Host operating system
MacOS Ventura 13.5
Guest operating system
Steps to reproduce
vagrant plugin install vagrant-aws --debug
NOTE: The same works correctly for vagrant version 2.3.4
Please feel free to close the issue if: