Last Updated: February 25, 2016
·
890
· gouravtiwari

No such file or directory --rubygems

I faced it in jruby on rvm.

Solution:

echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile

Or:

echo "source $HOME/.rvm/scripts/rvm" >> ~/.bashrc