From: Gavin Sinclair Date: 2004-03-15T21:04:22+09:00 Subject: Re: [ANN] RubyGems 0.2.0 On Monday, March 15, 2004, 9:52:34 PM, Chad wrote: > On Mar 15, 2004, at 2:37 AM, why the lucky stiff wrote: >> gabriele renzi wrote: >>> cool thanks, but: >>> rubygems-0.2.0>gem --remote-install=redcloth >>> c:/programmi/ruby-1.8/ruby/lib/ruby/site_ruby/rubygems/ >>> remote_installer.rb:78:in >>> `find_latest_valid_package_in_caches': Could not find redcloth > >> >> case-sensitive. >> > What do you all think--should this be case sensitive or not? It's > obviously a pretty easy thing to change. I'd say the following interface would be best: $ gem --remote-install=redcloth Package "redcloth" not found. Closest match: "RedCloth". $ gem --remote-install=RedClith Package "RedClith" not found. Closest match: "RedCloth". I'd rather not lose case-sensitivity in installations. Searching for a package should be case-instensitive by default though. There's a fuzzy matching algorithm for strings among the RubyForge snippets. (Convert both strings to lowercase before fuzzy matching.) Cheers, Gavin P.S. Good work. Nice to see it coming together.