Quick and dirty patch for the fire bug
Download this file on your iDevice, unzip it in /var/mobile/Documents/ then run the following commands in mobile terminal.
chmod +x firebug.patch
When everything worked you'll see something like the following:
1+0 records in
1+0 records out
1 bytes transferred in 0.000023 secs (258908 bytes/sec)