bin/coypond in coypond-0.2.0 vs bin/coypond in coypond-0.2.1
- old
+ new
@@ -48,11 +48,11 @@
end
end
files = []
if options[:gem]
- ENV["GEM_PATH"].split(":").each do |path|
- files += expand(path, ["gems", "#{options[:gem]}*", "**"])
+ $:.each do |path|
+ files += expand(path, ["#{options[:gem]}*", "**"])
end
else
files = $*.map {|file| expand(file)}.flatten
end
\ No newline at end of file