RVM 1.25 disables default pollution of rvm_path/bin, you still can generate the links using:
rvm wrapper ruby-name # or for default:
rvm wrapper default --no-prefix
Question
Is it just me or did RVM once install symlinks in /usr/local/rvm/bin for the current Ruby and Gem commands?
This seems to have gone away in a recent RVM update.
Now all my scripts that use /usr/local/rvm/bin/ruby are failing.
How do I get the symlink feature back?
Solution
RVM 1.25 disables default pollution of rvm_path/bin, you still can generate the links using:
rvm wrapper ruby-name # or for default:
rvm wrapper default --no-prefix
OTHER TIPS
Unfortunately, looks like Leor's answer no longer works, but you could do it manually. First of all ensure that which ruby
points to the rvm dir and then
sudo ln -sf "$(which ruby)" /usr/local/bin/ruby