I am trying to do a rvmsudo rvm gemset import
but I am getting this error:
No *.gems file found.
The .gems
file is called default.gems
.
I've tried doing a rvmsudo rvm gemset import default
doesn't work either.
But when I issue a rvm gemset import
without elevating to root using rvmsudo
, it tries to install the gems in my default.gems
file. I suspect rvmsudo
is changing the path and fails to find the .gems
file in my current working directory. Is there a way to prevent rvmsudo
from changing the path?
I've tried to follow the instructions in sudo changes PATH - why? but it doesn't work.