fix bug in rvm_ruby_version and compile assets locally