Skip to content

Instantly share code, notes, and snippets.

@mtheoryx
Created March 19, 2012 20:12
Show Gist options
  • Select an option

  • Save mtheoryx/2126391 to your computer and use it in GitHub Desktop.

Select an option

Save mtheoryx/2126391 to your computer and use it in GitHub Desktop.
rvm current version
rvm current | ruby -e 'rvm=STDIN.readlines.to_s.split("-");rvm_v=rvm[2];r=rvm[1];v=rvm[2].split("@")[0];puts r+"-"+v'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment