- zsh and ruby functions
hi roobyfiends -i am trying to get zshell to use some ruby scripts transparently butrunning into problems.in the ruby script i have:#!/usr/bin/env rubyand yet:[dc@metroid:~]$ type svnbatchmove.rb (12-24 09:43)svnbatchmove.rb is a shell functionthen running of course gives parse errors:[dc@metroi...
- zombie invasion - six ways to invoke shell processes
I've got code somebody else wrote. The code uses exec() to invokeshell processes. It spawns zombies by the thousands.I need to redo this over the long term to stop using shell processes at all.I need it to stop spawning zombies immediately.This blog post gives six ways to invoke a shell pro...
- Zlib::BufError when extracting file from a large .zip
Hey All,I'm having trouble unzipping a large .zip file w/rubyzip on winxp. Thefile is actually in the public domain--it's this 59MB chunk of censusdata:ftp://ftp2.census.gov/census_2000/d...uf1.zipIf I point the following script at it:require "rubygems"require_gem "rubyzip"folder = "//...
- zlib.so Problem on MIPS target platform.
HiYou'll have to forgive me if I miss some obvious details, as I'venever actually programmed in ruby. I've been tasked to install rubyand supporting applications, gems, etc.I've built an embedded linux system cross-compiled on the MIPSplatform. I'm currently in the proce...
- zlib large files problem
I am trying to decompress a 80MB file (decompresses to 300MB), but Ikeep getting a buffer error. I thought I had a workaround usingchunks, but it fails with 20M left to go. Any help or suggestions aregreatly appreciated.in `read': buffer error (Zlib::BufError)class Zlib::GzipReaderdef each_...
- zlib error while installing gems on Linux
Pardon my ignorance, I'm not that great with Linux.I installed Ruby 1.8.2 from source just now, everything went fine. I the=nattempted to install gems which seemed to go fine until the end, when Igot a stack trace trying to require zlib[1].When trying to require zlib from irb, I get:LoadErr...