Displaying 3 results from an estimated 3 matches for "gzipread".
Did you mean:
gzip_read
2006 Mar 16
6
File Auditing with rails - File I/O issue
...EST: View the tempfile to make sure it has data.
# ?This prints nothing, but the file DOES have info after
# the script completes. ?Maybe the file isn''t written at this point?
p IO.read(tempfile)
Zlib::GzipWriter.open(outfile) do |gz|
? gz << File.open(tempfile).read
end
Zlib::GzipReader.open(outfile) {|gz|
? print gz.read
}
# The ZIP file can''t be extracted with WINZIP. ?No idea why, but since
# I''ll be using another RUBY script for extraction, im not sure that I
care.
---------------------------
Brian Corrigan
---------------------------
2006 Nov 22
2
crash while retrieving term vectors
This program reliably crashes for me (usually a segfault):
require ''rubygems''
require ''ferret''
reader=Ferret::Index::IndexReader.new ARGV
fields=reader.field_infos.fields
reader.max_doc.times{|n|
fields.each{|field|
reader.term_vector(n,field)
} unless reader.deleted?(n)
print "."; STDOUT.flush
}
As you can see, it just goes through
2006 Mar 17
7
OT: Subversion folder cleanup
How do you clean up your app folder to place onto the server? I want to
get rid of all the .svn stuff.
Seth Buntin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060317/cc81d9f7/attachment.html