Daniel Berger
4/27/2007 4:49:00 AM
On Apr 26, 10:00 pm, bbiker <ren...@nc.rr.com> wrote:
> On Apr 26, 11:45 am, Daniel Berger <djber...@gmail.com> wrote:
>
>
>
> > On Apr 25, 4:55 am, "Leslie Viljoen" <leslievilj...@gmail.com> wrote:
>
> > > On 4/25/07, Daniel Berger <djber...@gmail.com> wrote:
>
> > > > Leslie Viljoen wrote:
> > > > > On 4/24/07, Servando Garcia <garcia.serva...@gmail.com> wrote:
>
> > > > >> Sweet I want one. Where's the download link?
>
> > > > >> > On 4/24/07, Leslie Viljoen wrote:
>
> > > > >> >> On 4/24/07, Daniel Berger wrote:
>
> > > > >> >>> Hi all,
>
> > > > >> >>> I'm happy to announce the first release of file-find. This
> > > > >> >>> package is meant as a replacement for the current 'find' module
> > > > >> >>> in the Ruby standard library. It provides many more options for
> > > > >> >>> controlling the behavior of your find operations.
>
> > > > > Can you find directories with this?
>
> > > > > #!/usr/local/bin/ruby
>
> > > > > require 'rubygems'
> > > > > require 'yaml'
> > > > > require 'file/find'
>
> > > > > finder = File::Find.new(:name => '*', :path => '/etc', :ftype =>
> > > > > 'directory')
> > > > > finder.find{|d| p d}
>
> > > > > --gives me nothing.
>
> > > > Nevermind about the bug report. It's fixed in CVS. :)
>
> > > Thanks for that, it works very well now.
> > > :-)
>
> > I just put out 0.2.0 today. This version adds "prune" and "perm", as
> > well as fixes a bug where subdirectories weren't being traversed.
>
> > Regards,
>
> > Dan- Hide quoted text -
>
> > - Show quoted text -
>
> Can find the file-find gem but cannot install it.
>
> C:\Documents and Settings\Owner>gem query -n file-find -r
>
> *** REMOTE GEMS ***
>
> file-find (0.2.0, 0.1.1, 0.1.0)
> A better way to find files
>
> C:\Documents and Settings\Owner>gem install file-find
> ERROR: While executing gem ... (OpenURI::HTTPError)
> 404 Not Found
Strange. I just tried a remote install and it worked fine. Try again
later. Perhaps you'll need to delete your gem cache.
Regards,
Dan