Created
November 23, 2013 00:16
-
-
Save jordansissel/7609084 to your computer and use it in GitHub Desktop.
This file contains 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" | |
require "pry" | |
require "find" | |
cache = {} | |
Gem::Specification.find_all do |gemspec| | |
gemspec.require_paths.each do |lib| | |
prefix = File.join(gemspec.full_gem_path, lib) | |
puts prefix + "/" | |
end | |
end |
This file contains 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
% GEM_HOME=$PWD/vendor/bundle/jruby/1.9 GEM_PATH= RUBYLIB=$PWD/lib ruby gemflat.rb | xargs sh -c 'rsync -av "$@" build/flatgems2/' - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment