Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
RVM offline page is missing some instructions #4672
https://rvm.io/rvm/offline has instructions to download rvm and ruby binaries and then install them.
But following them I noticed 2 issues.
So instead of this I used
This too fails. It wasn't able to find the
But then, I accidentally found the fix when I installed ruby using
Now, if I delete the installed ruby (by deleting the whole /usr/local/rvm folder) and then re-run the offline script which now uses the
(Even now, during the '#setup' phase, I saw an error "Missing 'ruby' in 'rubygems_detect_ruby_lib_gem_path'". I can't find a fix for this, but despite this, the correct ruby and rubygems versions will be installed and everything works.)
Could someone please let me know if I'm missing anything or if the documentation is incorrect and can be updated?
We run the server setup script as root. And so rvm gets installed in
We were trying to install ruby 2.2.6. The version mentioned above 2.2.0 is just for demo.
I've followed every other steps mentioned in the offline page (eg:
(And thanks a lot for making this awesome piece of software!).
You don't need any of the workarounds you have in your blog post. It is a lot simpler. I got it working by running:
to successfully install ruby offline. Reference: http://uberether.com/2014/installing-ruby-version-manager-in-offline-mode/