how to fix Invalid gemspec

1.5k Views Asked by At

I found a bug when checking the vagrant version in ubuntu terminal It returns these following error:

Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-libsodium.gemspec]: stack level too deep
1

There are 1 best solutions below

2
Shawn On BEST ANSWER

Just update your vagrant that works. Download direct from the vagrant website and don't use the version of ubuntu repository apt-get install vagrant.

The ubuntu version is outdated. Solved from: github issues