The RVM site addresses that HERE for the case where RVM is installed in a user's home directory.
But on my server I have a system-wide installation. In that case you should have a /etc/rvmrc file with a default setup and you need to source this.
Your scripts should look something like this:
#!/bin/bash
source "/etc/rvmrc"
rvm use 1.9.2
# mycommands_go_here
No comments:
Post a Comment