# Bug OP-3457 - An error occurred while installing json (1.8.3), and Bundler cannot continue.

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-3457

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions |  |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

I fetched the latest version (dev), but when I try to build it I get the following error:

$ bundle install  
…  
Using fog-core 1.42.0  
Using fog-core 1.42.0  
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: /home/kiffin/.rvm/gems/ruby-2.4.0/gems/json-1.8.3/ext/json/ext/generator  
/home/kiffin/.rvm/rubies/ruby-2.4.0/bin/ruby -r ./siteconf20170307-15410-thb2ix.rb extconf.rb  
creating Makefile

current directory: /home/kiffin/.rvm/gems/ruby-2.4.0/gems/json-1.8.3/ext/json/ext/generator  
make “DESTDIR=” clean

current directory: /home/kiffin/.rvm/gems/ruby-2.4.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)  
} else if (klass  rb\_cFixnum) {
                         ^
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)
     } else if (klass  rb\_cBignum) {  
^  
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’  
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’  
Makefile:241: recipe for target ‘generator.o’ failed  
make: ****\* \[generator.o\] Error 1

make failed, exit code 2

Gem files will remain installed in /home/kiffin/.rvm/gems/ruby-2.4.0/gems/json-1.8.3 for inspection.  
Results logged to /home/kiffin/.rvm/gems/ruby-2.4.0/extensions/x86\_64-linux/2.4.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.
