Created
May 27, 2014 19:38
-
-
Save aelesbao/1414b169a79162b1d795 to your computer and use it in GitHub Desktop.
List gems with native extensions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
specs_with_extensions = Gem::Specification.each.select { |spec| spec.extensions.any? } | |
specs_with_extensions.each do |spec| | |
puts "#{spec.name} (extensions: #{spec.extensions.inspect})" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you aelesbao! I made some adjustments to boil it down to names: