Closed juanmaguitar closed 3 years ago
As a hint, even when I have a Ruby version higher than 2.5
(base) ⬢ vvv-local stable ⦾ ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
It seems to install the plugin for a 2.4.9 version → /Users/juanma/vvv-local/.vagrant/plugins/gems/2.4.9/gems/vagrant-goodhosts-1.1.0/lib/vagrant-goodhosts/
(base) ⬢ vvv-local stable ⦾ vagrant up
Vagrant failed to initialize at a very early stage:
The plugins failed to load properly. The error message given is
shown below.
/Users/juanma/vvv-local/.vagrant/plugins/gems/2.4.9/gems/vagrant-goodhosts-1.1.0/lib/vagrant-goodhosts/GoodHosts.rb:104: syntax error, unexpected keyword_rescue, expecting keyword_end
rescue StandardError => _e
^
/Users/juanma/vvv-local/.vagrant/plugins/gems/2.4.9/gems/vagrant-goodhosts-1.1.0/lib/vagrant-goodhosts/GoodHosts.rb:255: syntax error, unexpected keyword_end, expecting end-of-input
You are using an old Ruby version. This package require at least ruby 2.5, I did that change so the next release will have this constraint.
So you need to update ruby on your machine to be able to use this plugin (I will wait some days before to do a new release).
You are using an old Ruby version. This package require at least ruby 2.5, I did that change so the next release will have this constraint. So you need to update ruby on your machine to be able to use this plugin (I will wait some days before to do a new release).
Thanks, @Mte90 Actually, It seemed to be more of an issue with the vagrant version.
After updating both to the latest version., now it works properly 👍
(base) ⬢ vvv-local stable ⦾ ruby -v
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin20]
(base) ⬢ vvv-local stable ⦾ vagrant -v
Vagrant 2.2.18
I'm closing this issue
What was The Command Used To Provision
What Kind of VVV Provision Was This
This was a fresh install
Logs/What Broke
This is the sequence of commands I've executed
This is the content of my
config/config.yml
Possible Solution
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Your Environment
Related to https://github.com/Varying-Vagrant-Vagrants/VVV/issues/2542