I asked this on the rails list, but received no traction. Since it’s
more of a ruby question anyway, thought I’d give it a shot here.
I have a problem with one of my rake tasks. It loads a very large yaml
file into the db, but because of the default limitation on stack size
in the Linux shell, the task craps out. Executing “ulimit -s 16384”
fixes the issue, and the task completes just fine.
What I’d like to do within my task is this (in ruby-ish pseudo):
Is there any way to do this? Can I modify the attributes of the shell
that is running me?