fixed "rvm is not a function"

Signed-off-by: Miguel Wicht <miguel.wicht@gmail.com>