S
S
sw262019-01-21 23:50:53
ubuntu
sw26, 2019-01-21 23:50:53

Vagrant Error: Could not find a suitable provider for rvm_system_ruby / rvm_gem?

Greetings! I've been searching the forums all day and haven't found a solution. I have Windows 10, VirtualBox 5.2.24-128163-Win, Vagrant 2.2.3_x86_64. On PuPHPet I collect the configuration (php, apache. mysql and some other points) for Vagrant and when it is installed via "vagrant up" errors appear that were not there before (even 2 weeks ago):

Error: 'curl -fsSL https://get.rvm.io | bash -s -- --version latest' returned 2 instead of one of [0]

Error: /Stage[main]/Rvm::System/Exec[system-rvm]/returns: change from 'notrun' to ['0'] failed: 'curl -fsSL https://get.rvm.io | bash -s -- --version latest' returned 2 instead of one of [0]

Error: Could not find a suitable provider for rvm_system_ruby

Error: Could not find a suitable provider for rvm_gem

----------
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.

--------------------------------
What could be the problem? Reinstalling old configurations that, for example, installed fine a month ago, now show the same errors.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2019-01-22
@sw26

run individually pulling the bash script https://raw.githubusercontent.com/rvm/rvm/master/b... insert set-x into it and source more precisely and find out where the system ruby ​​is damaged.
or better yet, put a direct (rvm = evil to some extent)
apt-get there or yum depending on what kind of base box is there.
what do you find out write need help ask

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question