{"action":"opened","issue":{"url":"https://api.github.com/repos/tray-tecnologia/opencode_theme/issues/35","repository_url":"https://api.github.com/repos/tray-tecnologia/opencode_theme","labels_url":"https://api.github.com/repos/tray-tecnologia/opencode_theme/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/tray-tecnologia/opencode_theme/issues/35/comments","events_url":"https://api.github.com/repos/tray-tecnologia/opencode_theme/issues/35/events","html_url":"https://github.com/tray-tecnologia/opencode_theme/issues/35","id":197892863,"number":35,"title":"Problemas na instalação do Open Code","user":{"login":"ortizvinicius","id":1380574,"avatar_url":"https://avatars.githubusercontent.com/u/1380574?v=3","gravatar_id":"","url":"https://api.github.com/users/ortizvinicius","html_url":"https://github.com/ortizvinicius","followers_url":"https://api.github.com/users/ortizvinicius/followers","following_url":"https://api.github.com/users/ortizvinicius/following{/other_user}","gists_url":"https://api.github.com/users/ortizvinicius/gists{/gist_id}","starred_url":"https://api.github.com/users/ortizvinicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ortizvinicius/subscriptions","organizations_url":"https://api.github.com/users/ortizvinicius/orgs","repos_url":"https://api.github.com/users/ortizvinicius/repos","events_url":"https://api.github.com/users/ortizvinicius/events{/privacy}","received_events_url":"https://api.github.com/users/ortizvinicius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-28T18:02:09Z","updated_at":"2016-12-28T18:02:09Z","closed_at":null,"body":"Estou tendo problemas para instalar o opencode no mac el capitan.\r\n\r\nVersão do ruby: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin15]\r\nVersão do gem: 2.6.8\r\n\r\nAo rodar o comando gem install opencode_theme me aparece o seguinte:\r\n\r\n```sh-3.2# gem install opencode_theme\r\n\r\nBuilding native extensions.  This could take a while...\r\n\r\nERROR:  Error installing opencode_theme:\r\n\r\nERROR: Failed to build gem native extension.\r\n\r\n\r\n\r\n    current directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n\r\n/usr/local/opt/ruby/bin/ruby -r ./siteconf20161228-4231-1mj6cyw.rb extconf.rb\r\n\r\ncreating Makefile\r\n\r\n\r\n\r\ncurrent directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n\r\nmake \"DESTDIR=\" clean\r\n\r\n\r\n\r\ncurrent directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator\r\n\r\nmake \"DESTDIR=\"\r\n\r\ncompiling generator.c\r\n\r\ngenerator.c:861:25: error: use of undeclared identifier 'rb_cFixnum'\r\n\r\n    } else if (klass == rb_cFixnum) {\r\n\r\n                        ^\r\n\r\ngenerator.c:863:25: error: use of undeclared identifier 'rb_cBignum'\r\n\r\n    } else if (klass == rb_cBignum) {\r\n\r\n                        ^\r\n\r\ngenerator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]\r\n\r\n    rb_scan_args(argc, argv, \"01\", &opts);\r\n\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'\r\n\r\n        rb_scan_args0(argc,argvp,fmt,\\\r\n\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'\r\n\r\n                     rb_scan_args_verify(fmt, varc), vars)\r\n\r\n                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'\r\n\r\n        verify = rb_scan_args_verify_count(fmt, varc); \\\r\n\r\n                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nnote: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'\r\n\r\n     rb_scan_args_count_block(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'\r\n\r\n     rb_scan_args_count_end(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'\r\n\r\n    ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))\r\n\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\ngenerator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]\r\n\r\n    rb_scan_args(argc, argv, \"01\", &opts);\r\n\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'\r\n\r\n        rb_scan_args0(argc,argvp,fmt,\\\r\n\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'\r\n\r\n                     rb_scan_args_verify(fmt, varc), vars)\r\n\r\n                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'\r\n\r\n        verify = rb_scan_args_verify_count(fmt, varc); \\\r\n\r\n                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nnote: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'\r\n\r\n     rb_scan_args_count_block(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2163:6: note: expanded from macro 'rb_scan_args_count_block'\r\n\r\n     rb_scan_args_count_end(fmt, ofs+1, varc, vari+1))\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'\r\n\r\n    ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))\r\n\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\ngenerator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]\r\n\r\n    rb_scan_args(argc, argv, \"01\", &opts);\r\n\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'\r\n\r\n        rb_scan_args0(argc,argvp,fmt,\\\r\n\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'\r\n\r\n                     rb_scan_args_verify(fmt, varc), vars)\r\n\r\n                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'\r\n\r\n        verify = rb_scan_args_verify_count(fmt, varc); \\\r\n\r\n                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nnote: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2168:6: note: expanded from macro 'rb_scan_args_count_hash'\r\n\r\n     rb_scan_args_count_block(fmt, ofs+1, varc, vari+1))\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'\r\n\r\n     rb_scan_args_count_end(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'\r\n\r\n    ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))\r\n\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\ngenerator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]\r\n\r\n    rb_scan_args(argc, argv, \"01\", &opts);\r\n\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'\r\n\r\n        rb_scan_args0(argc,argvp,fmt,\\\r\n\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'\r\n\r\n                     rb_scan_args_verify(fmt, varc), vars)\r\n\r\n                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'\r\n\r\n        verify = rb_scan_args_verify_count(fmt, varc); \\\r\n\r\n                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nnote: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'\r\n\r\n     rb_scan_args_count_block(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'\r\n\r\n     rb_scan_args_count_end(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'\r\n\r\n    ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))\r\n\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\ngenerator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]\r\n\r\n    rb_scan_args(argc, argv, \"01\", &opts);\r\n\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'\r\n\r\n        rb_scan_args0(argc,argvp,fmt,\\\r\n\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'\r\n\r\n                     rb_scan_args_verify(fmt, varc), vars)\r\n\r\n                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'\r\n\r\n        verify = rb_scan_args_verify_count(fmt, varc); \\\r\n\r\n                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nnote: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'\r\n\r\n     rb_scan_args_count_block(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'\r\n\r\n     rb_scan_args_count_end(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'\r\n\r\n    ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))\r\n\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\ngenerator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]\r\n\r\n    rb_scan_args(argc, argv, \"01\", &opts);\r\n\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'\r\n\r\n        rb_scan_args0(argc,argvp,fmt,\\\r\n\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'\r\n\r\n                     rb_scan_args_verify(fmt, varc), vars)\r\n\r\n                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'\r\n\r\n        verify = rb_scan_args_verify_count(fmt, varc); \\\r\n\r\n                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nnote: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'\r\n\r\n     rb_scan_args_count_block(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'\r\n\r\n     rb_scan_args_count_end(fmt, ofs, varc, vari) : \\\r\n\r\n     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'\r\n\r\n    ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))\r\n\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n6 warnings and 2 errors generated.\r\n\r\nmake: *** [generator.o] Error 1\r\n\r\n\r\n\r\nmake failed, exit code 2\r\n\r\n\r\n\r\nGem files will remain installed in /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3 for inspection.\r\n\r\nResults logged to /usr/local/lib/ruby/gems/2.4.0/extensions/x86_64-darwin-15/2.4.0/json-1.8.3/gem_make.out\r\n```\r\n"}}
{"actor":{"display_login":"ortizvinicius"}}