An Error Occurred While Installing Rake 12 3 2 and Bundler Cannot Continue
Hi!
I'm trying to deploy a tweeter app for slack following your instructions, but I hit a snag:
Here is the log file:
-----> Ruby app detected -----> Compiling Ruby/Rails -----> Using Ruby version: ruby-2.5.5 -----> 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/.. Fetching dependency metadata from https://rubygems.org/. Fetching rake 11.1.2 Fetching i18n 0.7.0 Fetching json 1.8.3 Installing i18n 0.7.0 Installing json 1.8.3 with native extensions Installing rake 11.1.2 Fetching minitest 5.8.4 Installing minitest 5.8.4 Fetching thread_safe 0.3.5 Installing thread_safe 0.3.5 Fetching builder 3.2.2 Installing builder 3.2.2 Fetching erubis 2.7.0 Fetching mini_portile2 2.0.0 Installing mini_portile2 2.0.0 Installing erubis 2.7.0 Fetching rack 1.6.4 Installing rack 1.6.4 Fetching mime-types-data 3.2016.0221 Installing mime-types-data 3.2016.0221 Fetching arel 6.0.3 Fetching addressable 2.4.0 Installing arel 6.0.3 Installing addressable 2.4.0 Fetching bcrypt 3.1.11 Installing bcrypt 3.1.11 with native extensions Fetching buftok 0.2.0 Installing buftok 0.2.0 Using bundler 1.15.2 Fetching coffee-script-source 1.10.0 Installing coffee-script-source 1.10.0 Fetching execjs 2.6.0 Fetching thor 0.19.1 Installing execjs 2.6.0 Installing thor 0.19.1 Fetching concurrent-ruby 1.0.1 Installing concurrent-ruby 1.0.1 Fetching dalli 2.7.6 Installing dalli 2.7.6 Fetching orm_adapter 0.5.0 Fetching unf_ext 0.0.7.2 Installing orm_adapter 0.5.0 Installing unf_ext 0.0.7.2 with native extensions Fetching equalizer 0.0.10 Installing equalizer 0.0.10 Fetching multipart-post 2.0.0 Installing multipart-post 2.0.0 Fetching hashie 3.4.3 Installing hashie 3.4.3 Fetching http-form_data 1.0.1 Installing http-form_data 1.0.1 Fetching http_parser.rb 0.6.0 Installing http_parser.rb 0.6.0 with native extensions Fetching multi_json 1.11.3 Installing multi_json 1.11.3 Fetching memcachier 0.0.2 Installing memcachier 0.0.2 Fetching naught 1.1.0 Installing naught 1.1.0 Fetching oauth 0.5.1 Installing oauth 0.5.1 Fetching pg 0.17.1 Installing pg 0.17.1 with native extensions Fetching rails_serve_static_assets 0.0.5 Installing rails_serve_static_assets 0.0.5 Fetching rails_stdout_logging 0.0.5 Installing rails_stdout_logging 0.0.5 Fetching sass 3.4.22 Installing sass 3.4.22 Fetching tilt 1.4.1 Installing tilt 1.4.1 Fetching simple_oauth 0.3.1 Installing simple_oauth 0.3.1 Fetching tzinfo 1.2.2 Installing tzinfo 1.2.2 Fetching memoizable 0.4.2 Installing memoizable 0.4.2 Fetching nokogiri 1.6.7.2 Installing nokogiri 1.6.7.2 with native extensions Fetching rack-test 0.6.3 Installing rack-test 0.6.3 Fetching warden 1.2.6 Installing warden 1.2.6 Fetching mime-types 3.0 Installing mime-types 3.0 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /tmp/build_bc69dbbb225324420194b8724c18b0fb/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator /tmp/build_bc69dbbb225324420194b8724c18b0fb/vendor/ruby-2.5.5/bin/ruby -r ./siteconf20190719-220-145fgha.rb extconf.rb creating Makefile current directory: /tmp/build_bc69dbbb225324420194b8724c18b0fb/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator make "DESTDIR=" clean current directory: /tmp/build_bc69dbbb225324420194b8724c18b0fb/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_bc69dbbb225324420194b8724c18b0fb/vendor/bundle/ruby/2.5.0/gems/json-1.8.3 for inspection. Results logged to /tmp/build_bc69dbbb225324420194b8724c18b0fb/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: rails was resolved to 4.2.6, which depends on actionmailer was resolved to 4.2.6, which depends on actionpack was resolved to 4.2.6, which depends on actionview was resolved to 4.2.6, which depends on rails-dom-testing was resolved to 1.0.7, which depends on rails-deprecated_sanitizer was resolved to 1.0.3, which depends on activesupport was resolved to 4.2.6, which depends on json Bundler Output: Fetching gem metadata from https://rubygems.org/........... Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Fetching rake 11.1.2 Fetching i18n 0.7.0 Fetching json 1.8.3 Installing i18n 0.7.0 Installing json 1.8.3 with native extensions Installing rake 11.1.2 Fetching minitest 5.8.4 Installing minitest 5.8.4 Fetching thread_safe 0.3.5 Installing thread_safe 0.3.5 Fetching builder 3.2.2 Installing builder 3.2.2 Fetching erubis 2.7.0 Fetching mini_portile2 2.0.0 Installing mini_portile2 2.0.0 Installing erubis 2.7.0 Fetching rack 1.6.4 Installing rack 1.6.4 Fetching mime-types-data 3.2016.0221 Installing mime-types-data 3.2016.0221 Fetching arel 6.0.3 Fetching addressable 2.4.0 Installing arel 6.0.3 Installing addressable 2.4.0 Fetching bcrypt 3.1.11 Installing bcrypt 3.1.11 with native extensions Fetching buftok 0.2.0 Installing buftok 0.2.0 Using bundler 1.15.2 Fetching coffee-script-source 1.10.0 Installing coffee-script-source 1.10.0 Fetching execjs 2.6.0 Fetching thor 0.19.1 Installing execjs 2.6.0 Installing thor 0.19.1 Fetching concurrent-ruby 1.0.1 Installing concurrent-ruby 1.0.1 Fetching dalli 2.7.6 Installing dalli 2.7.6 Fetching orm_adapter 0.5.0 Fetching unf_ext 0.0.7.2 Installing orm_adapter 0.5.0 Installing unf_ext 0.0.7.2 with native extensions Fetching equalizer 0.0.10 Installing equalizer 0.0.10 Fetching multipart-post 2.0.0 Installing multipart-post 2.0.0 Fetching hashie 3.4.3 Installing hashie 3.4.3 Fetching http-form_data 1.0.1 Installing http-form_data 1.0.1 Fetching http_parser.rb 0.6.0 Installing http_parser.rb 0.6.0 with native extensions Fetching multi_json 1.11.3 Installing multi_json 1.11.3 Fetching memcachier 0.0.2 Installing memcachier 0.0.2 Fetching naught 1.1.0 Installing naught 1.1.0 Fetching oauth 0.5.1 Installing oauth 0.5.1 Fetching pg 0.17.1 Installing pg 0.17.1 with native extensions Fetching rails_serve_static_assets 0.0.5 Installing rails_serve_static_assets 0.0.5 Fetching rails_stdout_logging 0.0.5 Installing rails_stdout_logging 0.0.5 Fetching sass 3.4.22 Installing sass 3.4.22 Fetching tilt 1.4.1 Installing tilt 1.4.1 Fetching simple_oauth 0.3.1 Installing simple_oauth 0.3.1 Fetching tzinfo 1.2.2 Installing tzinfo 1.2.2 Fetching memoizable 0.4.2 Installing memoizable 0.4.2 Fetching nokogiri 1.6.7.2 Installing nokogiri 1.6.7.2 with native extensions Fetching rack-test 0.6.3 Installing rack-test 0.6.3 Fetching warden 1.2.6 Installing warden 1.2.6 Fetching mime-types 3.0 Installing mime-types 3.0 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /tmp/build_bc69dbbb225324420194b8724c18b0fb/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator /tmp/build_bc69dbbb225324420194b8724c18b0fb/vendor/ruby-2.5.5/bin/ruby -r ./siteconf20190719-220-145fgha.rb extconf.rb creating Makefile current directory: /tmp/build_bc69dbbb225324420194b8724c18b0fb/vendor/bundle/ruby/2.5.0/gems/json-1.8.3/ext/json/ext/generator make "DESTDIR=" clean current directory: /tmp/build_bc69dbbb225324420194b8724c18b0fb/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_bc69dbbb225324420194b8724c18b0fb/vendor/bundle/ruby/2.5.0/gems/json-1.8.3 for inspection. Results logged to /tmp/build_bc69dbbb225324420194b8724c18b0fb/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: rails was resolved to 4.2.6, which depends on actionmailer was resolved to 4.2.6, which depends on actionpack was resolved to 4.2.6, which depends on actionview was resolved to 4.2.6, which depends on rails-dom-testing was resolved to 1.0.7, which depends on rails-deprecated_sanitizer was resolved to 1.0.3, which depends on activesupport was resolved to 4.2.6, which depends on json ! ! Failed to install gems via Bundler. ! ! Push rejected, failed to compile Ruby app. ! Push failed Any suggestions? I really appreciate any help! :) Thanks!
curtisplacceiven41.blogspot.com
Source: https://github.com/LaunchPadLab/slack_twitter_app/issues/6
0 Response to "An Error Occurred While Installing Rake 12 3 2 and Bundler Cannot Continue"
إرسال تعليق