Created
March 8, 2013 17:08
-
-
Save bhb/5118038 to your computer and use it in GitHub Desktop.
Find all gems in a bundle that have 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
# bundle exec ruby ext_finder.rb | |
require 'rubygems' | |
Gem::Specification.each do |spec| | |
ext = spec.extensions | |
puts "#{spec.name} (#{spec.version}) has extensions: #{ext}" unless ext.empty? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment