Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
require "pathname"
LOADER = '''
require "pathname"
vendor_path = Pathname.new(__FILE__).parent.parent + "vendor"
Pathname.glob("#{vendor_path}/**/**/lib") do |lib|
next if $LOAD_PATH.include?(lib.realpath.to_s)
levi@tums:~/go/src/supportlocal/caramon (master)
$ time ./caramon sphinx-places > places.xml
2012/11/30 19:13:12 Loading config from: "config/development.yaml"
real 38m56.816s
user 32m41.470s
sys 5m23.280s
levi@tums:~/go/src/supportlocal/caramon (master *+)
node_modules
package-lock.json