Closed jinhianlee closed 9 years ago
Probably related to #46. I faced a similar issue. In my case I had set up rvm1_install_path to /usr/local/rvm but rubies and gems had end up under /usr/local/lib/rvm. So I changed rvm1_install_path to the second path and things worked. It is as if when installing rvm all the paths ended up messed up.
Actually, as it turned out, this is my bad - I was using the rvm short hand ('rvm install 2.2.2'), but the correct way to specify the ruby version is the full name: rvm1_rubies:
Because I was bootstrapping a VM via Vagrant's shell provisioner which runs as root, there was some additional confusion because paths did not resolve as I expected.
Closing this now.
Hi,
I've encountered an error when the script tries to install bundler after installing Ruby 2.2.2 - its trying to run
gem
commands from a missing directory:/home/vagrant/.rvm/wrappers/2.2.2/
The correct directory appears to be
/home/vagrant/.rvm/wrappers/ruby-2.2.2/
Platform: fresh install of Ubuntu 14.04 on a VirtualBox VM using Vagrant on an OS X host.
The role config is:
Here's the full error output (vvv):
Also including a prior error in case it's relevant (though Ruby 2.2.2 appears to have be successfully installed):