-----> Ruby app detected
-----> Compiling Ruby
-----> Using Ruby version: ruby-2.5.3
-----> Installing dependencies using bundler 1.15.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching gem metadata from https://rubygems.org/.............
Fetching version metadata from https://rubygems.org/.
Using bundler 1.15.2
Fetching json 1.8.3
Fetching multi_xml 0.5.5
Installing multi_xml 0.5.5
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/ruby-2.5.3/bin/ruby -r
./siteconf20190611-214-2p82jr.rb extconf.rb
creating Makefile
current directory:
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR=" clean
current directory:
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
generator.c: In function ‘generate_json’:
generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function);
did you mean ‘mFixnum’?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:861:25: note: each undeclared identifier is reported only once for
each function it appears in
generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function);
did you mean ‘rb_cFixnum’?
} else if (klass == rb_cBignum) {
^~~~~~~~~~
rb_cFixnum
generator.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
Makefile:241: recipe for target 'generator.o' failed
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/gems/json-1.8.3
for inspection.
Results logged to
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
In Gemfile:
httparty was resolved to 0.13.5, which depends on
json
Bundler Output: Fetching gem metadata from https://rubygems.org/.............
Fetching version metadata from https://rubygems.org/.
Using bundler 1.15.2
Fetching json 1.8.3
Fetching multi_xml 0.5.5
Installing multi_xml 0.5.5
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/ruby-2.5.3/bin/ruby -r
./siteconf20190611-214-2p82jr.rb extconf.rb
creating Makefile
current directory:
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR=" clean
current directory:
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
generator.c: In function ‘generate_json’:
generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function);
did you mean ‘mFixnum’?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:861:25: note: each undeclared identifier is reported only once for
each function it appears in
generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function);
did you mean ‘rb_cFixnum’?
} else if (klass == rb_cBignum) {
^~~~~~~~~~
rb_cFixnum
generator.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
Makefile:241: recipe for target 'generator.o' failed
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/gems/json-1.8.3
for inspection.
Results logged to
/tmp/build_716e2c940330b6e6503ae6d8c2e4bb0e/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
In Gemfile:
httparty was resolved to 0.13.5, which depends on
json
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app.
! Push failed
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app.
! Push failed