Skip to content

Instantly share code, notes, and snippets.

@xuxiaodong
Created July 20, 2012 03:42
Show Gist options
  • Save xuxiaodong/3148511 to your computer and use it in GitHub Desktop.
Save xuxiaodong/3148511 to your computer and use it in GitHub Desktop.
gems = %x(gem list --no-version).split(/\n/).join(' ')
puts gems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment