I installed Ruby 1.9.3 with RVM, and it works fine. I then made some changes in a ruby C source file, and I want to recompile and re-install it so I can use the changes. I haven
Use:
rvm install --force
It explicitly asks RVM to use existing sources, in earlier versions this was default - but might be very confusing.
So other commands in ther for installing:
rvm try_install
Will only install if not yet installed (your problem)
rvm reinstall
is the same as:
rvm remove [--gems]
rvm install
obviously some time saved with reinstall
and use [--gems] to also remove all the gems that were installed with ruby.
mkdir -p projects/smth && cd projects smth
rvm use 1.9.3@gem --install --create --ruby-version
will go to project, install 1.9.3 (if not yet installed), create the gemset, and create .ruby-version
file (available only in RVM head before v. 1.11.0)
the other flgs:
--rvmrc
- already available in RVM - will create .rvmrc
file--versions-conf
- available only in RVM head before v. 1.11.0 - will create .versions.conf
- a configuration file for your project, you can put there any important information about your project ... like node.js version