I need to set up a cronjob that would run some ruby script on particular gemset, I have tried to write a shell script where I change RVM gemset using /home/user/.rvm/bin/rvm use @spider, but it gives me the following error: RVM is not a function, selecting rubies with 'rvm use ...' will not work
I need to set up a cronjob that would run some ruby script on
Share
Maybe you should load RVM as a function using something like this: