Closed einyx closed 3 years ago
Hi @einyx - Yes, we will have to upgrade the version of Ruby in a future version of Vagrant. For now, the vagrant-severspec plugin should make sure the gems used are compatible with the embedded version of Ruby, otherwise you won't be able to install their plugin with the packaged version of Vagrant.
Hi there,
It looks like this has been resolved within a previously shipped version of Vagrant so I am now closing this issue. If the original issue was not fully resolved, please reopen this issue or create a new one.
Cheers!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Vagrant version
Vagrant 2.2.6
Host operating system
OSX Catalina
Guest operating system
Ubuntu 18.04
Vagrantfile
Debug output
➜ packer git:(master) ✗ vagrant plugin install vagrant-serverspec Installing the 'vagrant-serverspec' plugin. This can take a few minutes... Vagrant failed to properly resolve required dependencies. These errors can commonly be caused by misconfigured plugin installations or transient network issues. The reported error is:
activesupport requires Ruby version >= 2.5.0. ➜ packer git:(master) ✗ vagrant plugin install vagrant-serverspec ➜ packer git:(master) ✗ ruby -v ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19] ➜ packer git:(master) ✗ /opt/vagrant/embedded/bin/ruby --version ruby 2.4.9p362 (2019-10-02 revision 67824) [x86_64-darwin13]
Expected behavior
Install vagrant serverspec plugin
Actual behavior
Embedded ruby version seems outdated
Steps to reproduce