Skip to content

Instantly share code, notes, and snippets.

@jch
Created December 1, 2011 21:38
Show Gist options
  • Save jch/1420069 to your computer and use it in GitHub Desktop.
Save jch/1420069 to your computer and use it in GitHub Desktop.
number of gem dependencies in a project
ruby -ne 'next unless $_ =~ /\(/; puts $_.strip!.gsub(/ .*/, "")' < Gemfile.lock | sort | uniq | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment