scons: Building targets ...
gcc -o obj/release/dtoa-config.o -c -Werror -Wno-uninitialized -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -fPIC -ansi -DV8_TARGET_ARCH_X64 -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -Isrc src/dtoa-config.c
fatal: unrecognized command 'gcc -o "obj/release/dtoa-config.o" -c -Werror -Wno-uninitialized -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -fPIC -ansi -DV8_TARGET_ARCH_X64 -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DENABLE_DEB'gcc -o "obj/release/dtoa-config.o" -c -Werror -Wno-uninitialized -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -fPIC -ansi -DV8_TARGET_ARCH_X64 -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DENABLE_DEB/Jonas
As you found Alex has been kind enough to provide a gem that works on heroku. The problem is that the V8 build (which is in python) appears to actually be truncating the gcc invocation. This might be a problem with the installed version of python, but unless I can get a hands on session, it's difficult to say.
I'm going to follow up with Heroku and see If they would let me debug this on one of their servers.
cheers,
Charles