fix variable name issue (RUBY_VERSION was unset by RVM scripts)