Error 310: Staging failed: 'Staging task failed:
Staging plugin failed: ERROR: Error installing /tmp/d20121025-5635-37zlxd/FBDistributedNotification-0.0.1.gem:
ERROR: Failed to build gem native extension.
/opt/cloudfoundry/runtimes/ruby-1.9.3-p125/bin/ruby extconf.rb
creating Makefile
make
compiling FBNotification.c
cc1: error: argument to ‘-O’ should be a non-negative integer
make: *** [FBNotification.o] Error 1
Gem files will remain installed in /tmp/d20121025-5635-37zlxd/gem_install_dir/gems/FBDistributedNotification-0.0.1 for inspection.
Results logged to /tmp/d20121025-5635-37zlxd/gem_install_dir/gems/FBDistributedNotification-0.0.1/ext/gem_make.out
/opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:141:in `install_gem_from_path': Failed installing FBDistributedNotification-0.0.1.gem (RuntimeError)
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:101:in `install_gem'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:71:in `block in install_specs'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:70:in `each'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:70:in `install_specs'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:54:in `install'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_support.rb:39:in `compile_gems'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/rails3/plugin.rb:65:in `block in stage_application'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/rails3/plugin.rb:61:in `chdir'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/rails3/plugin.rb:61:in `stage_application'
from /opt/cloudfoundry/vcap/stager/bin/run_plugin:19:in `<main>'