{"action":"created","issue":{"url":"https://api.github.com/repos/dokku/dokku-api/issues/13","repository_url":"https://api.github.com/repos/dokku/dokku-api","labels_url":"https://api.github.com/repos/dokku/dokku-api/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/dokku/dokku-api/issues/13/comments","events_url":"https://api.github.com/repos/dokku/dokku-api/issues/13/events","html_url":"https://github.com/dokku/dokku-api/issues/13","id":352001082,"node_id":"MDU6SXNzdWUzNTIwMDEwODI=","number":13,"title":"Problems with json 1.8.3. make failed, exit code 2","user":{"login":"Jonatanmdez","id":6991527,"node_id":"MDQ6VXNlcjY5OTE1Mjc=","avatar_url":"https://avatars3.githubusercontent.com/u/6991527?v=4","gravatar_id":"","url":"https://api.github.com/users/Jonatanmdez","html_url":"https://github.com/Jonatanmdez","followers_url":"https://api.github.com/users/Jonatanmdez/followers","following_url":"https://api.github.com/users/Jonatanmdez/following{/other_user}","gists_url":"https://api.github.com/users/Jonatanmdez/gists{/gist_id}","starred_url":"https://api.github.com/users/Jonatanmdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jonatanmdez/subscriptions","organizations_url":"https://api.github.com/users/Jonatanmdez/orgs","repos_url":"https://api.github.com/users/Jonatanmdez/repos","events_url":"https://api.github.com/users/Jonatanmdez/events{/privacy}","received_events_url":"https://api.github.com/users/Jonatanmdez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-20T06:28:57Z","updated_at":"2018-08-28T07:42:18Z","closed_at":null,"author_association":"NONE","body":"I no idea of Ruby (PHP Guy), I was trying to solve the problem using these solution rails/rails#27450 (comment), but doesn't work.\r\n\r\n\r\n\r\n```\r\nTotal 213 (delta 102), reused 208 (delta 101)\r\n-----> Cleaning up...\r\n-----> Building dokku-api from herokuish...\r\n-----> Adding BUILD_ENV to build environment...\r\n-----> Ruby app detected\r\n-----> Compiling Ruby/Rack\r\n-----> Using Ruby version: ruby-2.4.4\r\n-----> Installing dependencies using bundler 1.15.2\r\n       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment\r\n       Fetching gem metadata from https://rubygems.org/.........\r\n       Fetching version metadata from https://rubygems.org/..\r\n       Fetching dependency metadata from https://rubygems.org/.\r\n       Fetching public_suffix 2.0.5\r\n       Fetching awesome_print 1.7.0\r\n       Fetching bcrypt 3.1.11\r\n       Installing awesome_print 1.7.0\r\n       Installing bcrypt 3.1.11 with native extensions\r\n       Installing public_suffix 2.0.5\r\n       Using bundler 1.15.2\r\n       Fetching byebug 9.0.0\r\n       Fetching concurrent-ruby 1.0.5\r\n       Installing byebug 9.0.0 with native extensions\r\n       Installing concurrent-ruby 1.0.5\r\n       Fetching connection_pool 2.2.1\r\n       Installing connection_pool 2.2.1\r\n       Fetching fastercsv 1.5.5\r\n       Installing fastercsv 1.5.5\r\n       Fetching json 1.8.3\r\n       Installing json 1.8.3 with native extensions\r\n       Fetching json_pure 1.8.6\r\n       Installing json_pure 1.8.6\r\n       Fetching multi_json 1.12.1\r\n       Installing multi_json 1.12.1\r\n       Fetching stringex 1.5.1\r\n       Installing stringex 1.5.1\r\n       Fetching uuidtools 2.1.5\r\n       Installing uuidtools 2.1.5\r\n       Fetching ffi 1.9.18\r\n       Installing ffi 1.9.18 with native extensions\r\n       Fetching thor 0.19.4\r\n       Installing thor 0.19.4\r\n       Fetching rb-fsevent 0.9.8\r\n       Installing rb-fsevent 0.9.8\r\n       Fetching ruby_dep 1.5.0\r\n       Fetching pg 0.20.0\r\n       Installing ruby_dep 1.5.0\r\n       Fetching puma 3.9.1\r\n       Installing pg 0.20.0 with native extensions\r\n       Installing puma 3.9.1 with native extensions\r\n       Fetching rack 1.6.5\r\n       Installing rack 1.6.5\r\n       Fetching redis 3.3.3\r\n       Installing redis 3.3.3\r\n       Fetching tilt 2.0.6\r\n       Installing tilt 2.0.6\r\n       Fetching addressable 2.5.0\r\n       Installing addressable 2.5.0\r\n       Fetching bcrypt-ruby 3.1.5\r\n       Installing bcrypt-ruby 3.1.5\r\n       Fetching foreman 0.83.0\r\n       Installing foreman 0.83.0\r\n       Gem::Ext::BuildError: ERROR: Failed to build gem native extension.\r\n       \r\n       current directory:\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n       /tmp/build/vendor/ruby-2.4.4/bin/ruby -r ./siteconf20180820-250-1apkvqd.rb\r\n       extconf.rb\r\n       creating Makefile\r\n       \r\n       current directory:\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n       make \"DESTDIR=\" clean\r\n       \r\n       current directory:\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n       make \"DESTDIR=\"\r\n       compiling generator.c\r\n       generator.c: In function ‘generate_json’:\r\n       generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)\r\n       } else if (klass == rb_cFixnum) {\r\n       ^\r\n       generator.c:861:25: note: each undeclared identifier is reported only once for\r\n       each function it appears in\r\n       generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)\r\n       } else if (klass == rb_cBignum) {\r\n       ^\r\n       generator.c: At top level:\r\n       cc1: warning: unrecognized command line option ‘-Wno-self-assign’\r\n       cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’\r\n       cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’\r\n       cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’\r\n       Makefile:241: recipe for target 'generator.o' failed\r\n       make: *** [generator.o] Error 1\r\n       \r\n       make failed, exit code 2\r\n       \r\n       Gem files will remain installed in\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/gems/json-1.8.3 for inspection.\r\n       Results logged to\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-1.8.3/gem_make.out\r\n       \r\n       An error occurred while installing json (1.8.3), and Bundler cannot continue.\r\n       Make sure that `gem install json -v '1.8.3'` succeeds before bundling.\r\n       \r\n       In Gemfile:\r\n       data_mapper was resolved to 1.2.0, which depends on\r\n       dm-serializer was resolved to 1.2.2, which depends on\r\n       json\r\n       Bundler Output: Fetching gem metadata from https://rubygems.org/.........\r\n       Fetching version metadata from https://rubygems.org/..\r\n       Fetching dependency metadata from https://rubygems.org/.\r\n       Fetching public_suffix 2.0.5\r\n       Fetching awesome_print 1.7.0\r\n       Fetching bcrypt 3.1.11\r\n       Installing awesome_print 1.7.0\r\n       Installing bcrypt 3.1.11 with native extensions\r\n       Installing public_suffix 2.0.5\r\n       Using bundler 1.15.2\r\n       Fetching byebug 9.0.0\r\n       Fetching concurrent-ruby 1.0.5\r\n       Installing byebug 9.0.0 with native extensions\r\n       Installing concurrent-ruby 1.0.5\r\n       Fetching connection_pool 2.2.1\r\n       Installing connection_pool 2.2.1\r\n       Fetching fastercsv 1.5.5\r\n       Installing fastercsv 1.5.5\r\n       Fetching json 1.8.3\r\n       Installing json 1.8.3 with native extensions\r\n       Fetching json_pure 1.8.6\r\n       Installing json_pure 1.8.6\r\n       Fetching multi_json 1.12.1\r\n       Installing multi_json 1.12.1\r\n       Fetching stringex 1.5.1\r\n       Installing stringex 1.5.1\r\n       Fetching uuidtools 2.1.5\r\n       Installing uuidtools 2.1.5\r\n       Fetching ffi 1.9.18\r\n       Installing ffi 1.9.18 with native extensions\r\n       Fetching thor 0.19.4\r\n       Installing thor 0.19.4\r\n       Fetching rb-fsevent 0.9.8\r\n       Installing rb-fsevent 0.9.8\r\n       Fetching ruby_dep 1.5.0\r\n       Fetching pg 0.20.0\r\n       Installing ruby_dep 1.5.0\r\n       Fetching puma 3.9.1\r\n       Installing pg 0.20.0 with native extensions\r\n       Installing puma 3.9.1 with native extensions\r\n       Fetching rack 1.6.5\r\n       Installing rack 1.6.5\r\n       Fetching redis 3.3.3\r\n       Installing redis 3.3.3\r\n       Fetching tilt 2.0.6\r\n       Installing tilt 2.0.6\r\n       Fetching addressable 2.5.0\r\n       Installing addressable 2.5.0\r\n       Fetching bcrypt-ruby 3.1.5\r\n       Installing bcrypt-ruby 3.1.5\r\n       Fetching foreman 0.83.0\r\n       Installing foreman 0.83.0\r\n       Gem::Ext::BuildError: ERROR: Failed to build gem native extension.\r\n       \r\n       current directory:\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n       /tmp/build/vendor/ruby-2.4.4/bin/ruby -r ./siteconf20180820-250-1apkvqd.rb\r\n       extconf.rb\r\n       creating Makefile\r\n       \r\n       current directory:\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n       make \"DESTDIR=\" clean\r\n       \r\n       current directory:\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n       make \"DESTDIR=\"\r\n       compiling generator.c\r\n       generator.c: In function ‘generate_json’:\r\n       generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)\r\n       } else if (klass == rb_cFixnum) {\r\n       ^\r\n       generator.c:861:25: note: each undeclared identifier is reported only once for\r\n       each function it appears in\r\n       generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)\r\n       } else if (klass == rb_cBignum) {\r\n       ^\r\n       generator.c: At top level:\r\n       cc1: warning: unrecognized command line option ‘-Wno-self-assign’\r\n       cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’\r\n       cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’\r\n       cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’\r\n       Makefile:241: recipe for target 'generator.o' failed\r\n       make: *** [generator.o] Error 1\r\n       \r\n       make failed, exit code 2\r\n       \r\n       Gem files will remain installed in\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/gems/json-1.8.3 for inspection.\r\n       Results logged to\r\n       /tmp/build/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-1.8.3/gem_make.out\r\n       \r\n       An error occurred while installing json (1.8.3), and Bundler cannot continue.\r\n       Make sure that `gem install json -v '1.8.3'` succeeds before bundling.\r\n       \r\n       In Gemfile:\r\n       data_mapper was resolved to 1.2.0, which depends on\r\n       dm-serializer was resolved to 1.2.2, which depends on\r\n       json\r\n       !\r\n       !     Failed to install gems via Bundler.\r\n       !\r\nTo dokku@dokku.trazada.cloud:dokku-api\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dokku/dokku-api/issues/comments/416483419","html_url":"https://github.com/dokku/dokku-api/issues/13#issuecomment-416483419","issue_url":"https://api.github.com/repos/dokku/dokku-api/issues/13","id":416483419,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjQ4MzQxOQ==","user":{"login":"Jonatanmdez","id":6991527,"node_id":"MDQ6VXNlcjY5OTE1Mjc=","avatar_url":"https://avatars3.githubusercontent.com/u/6991527?v=4","gravatar_id":"","url":"https://api.github.com/users/Jonatanmdez","html_url":"https://github.com/Jonatanmdez","followers_url":"https://api.github.com/users/Jonatanmdez/followers","following_url":"https://api.github.com/users/Jonatanmdez/following{/other_user}","gists_url":"https://api.github.com/users/Jonatanmdez/gists{/gist_id}","starred_url":"https://api.github.com/users/Jonatanmdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jonatanmdez/subscriptions","organizations_url":"https://api.github.com/users/Jonatanmdez/orgs","repos_url":"https://api.github.com/users/Jonatanmdez/repos","events_url":"https://api.github.com/users/Jonatanmdez/events{/privacy}","received_events_url":"https://api.github.com/users/Jonatanmdez/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T07:42:18Z","updated_at":"2018-08-28T07:42:18Z","author_association":"NONE","body":"@beydogan could you check the error again? \r\n\r\nWe were using the api for port domains automatic and is very useful for us. We love the api D: "}}
{"actor":{"display_login":"Jonatanmdez"}}