matomo-org / matomo-dev-environment

Matomo Development Environment (Vagrant)
http://developer.matomo.org
GNU General Public License v3.0
33 stars 21 forks source link

Error building the VirtualBox: thor requires Ruby version >= 2.0.0 #19

Open alexanderscheibler opened 4 years ago

alexanderscheibler commented 4 years ago

Running vagrant up fails with the following error:

==> default: Mounting shared folders...
    default: /vagrant => /home/renata-on2/Dev/matomo/matomo-dev-environment
    default: /etc/puppet/files => /home/renata-on2/Dev/matomo/matomo-dev-environment/puppet/files
    default: /home/vagrant/www => /home/renata-on2/Dev/matomo/matomo-dev-environment/www
    default: /tmp/vagrant-puppet/modules-9845a071be6f3196616349b4f72550fa => /home/renata-on2/Dev/matomo/matomo-dev-environment/puppet/modules
    default: /tmp/vagrant-puppet/manifests-768747907b90c39ab6f16fcb3320897a => /home/renata-on2/Dev/matomo/matomo-dev-environment/puppet
==> default: Running provisioner: shell...
    default: Running: inline script
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: ruby is already the newest version.
    default: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    default: ERROR:  Error installing puppet:
    default:    thor requires Ruby version >= 2.0.0.
    default: Successfully installed hiera-3.6.0
    default: 1 gem installed
    default: Installing ri documentation for hiera-3.6.0...
    default: Installing RDoc documentation for hiera-3.6.0...
    default: ERROR:  Error installing hiera-puppet:
    default:    json_pure requires Ruby version >= 2.0.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.