Title: Update github-pages dependency to work with latest Ruby (2.5.1) · Issue #57 · nodegit/nodegit.github.com · GitHub
Open Graph Title: Update github-pages dependency to work with latest Ruby (2.5.1) · Issue #57 · nodegit/nodegit.github.com
X Title: Update github-pages dependency to work with latest Ruby (2.5.1) · Issue #57 · nodegit/nodegit.github.com
Description: After cloning the nodegit.github.io repo onto my system, I kept getting this error when running script/bootstrap || $ script/bootstrap Successfully installed bundler-1.16.5 Parsing documentation for bundler-1.16.5 Done installing documen...
Open Graph Description: After cloning the nodegit.github.io repo onto my system, I kept getting this error when running script/bootstrap || $ script/bootstrap Successfully installed bundler-1.16.5 Parsing documentation fo...
X Description: After cloning the nodegit.github.io repo onto my system, I kept getting this error when running script/bootstrap || $ script/bootstrap Successfully installed bundler-1.16.5 Parsing documentation fo...
Opengraph URL: https://github.com/nodegit/nodegit.github.com/issues/57
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update github-pages dependency to work with latest Ruby (2.5.1)","articleBody":"After cloning the nodegit.github.io repo onto my system, I kept getting this error when running `script/bootstrap` ||\r\n```\r\n$ script/bootstrap\r\nSuccessfully installed bundler-1.16.5\r\nParsing documentation for bundler-1.16.5\r\nDone installing documentation for bundler after 3 seconds\r\n1 gem installed\r\nFetching gem metadata from https://rubygems.org/...........\r\nFetching gem metadata from https://rubygems.org/.\r\nResolving dependencies...\r\nUsing RedCloth 4.2.9\r\nUsing i18n 0.7.0\r\nFetching json 1.8.2\r\nInstalling json 1.8.2 with native extensions\r\nGem::Ext::BuildError: ERROR: Failed to build gem native extension.\r\n\r\ncurrent directory:\r\nC:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/json-1.8.2/ext/json/ext/generator\r\nC:/Ruby25-x64/bin/ruby.exe -r ./siteconf20180923-15396-s6e9th.rb extconf.rb\r\ncreating Makefile\r\n\r\ncurrent directory:\r\nC:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/json-1.8.2/ext/json/ext/generator\r\nmake \"DESTDIR=\" clean\r\n\r\ncurrent directory:\r\nC:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/json-1.8.2/ext/json/ext/generator\r\nmake \"DESTDIR=\"\r\ngenerating generator-x64-mingw32.def\r\ncompiling generator.c\r\ngenerator.c: In function 'generate_json':\r\ngenerator.c:867:25: error: 'rb_cFixnum' undeclared (first use in this function);\r\ndid you mean 'mFixnum'?\r\n } else if (klass == rb_cFixnum) {\r\n ^~~~~~~~~~\r\n mFixnum\r\ngenerator.c:867:25: note: each undeclared identifier is reported only once for\r\neach function it appears in\r\ngenerator.c:869:25: error: 'rb_cBignum' undeclared (first use in this function);\r\ndid you mean 'mBignum'?\r\n } else if (klass == rb_cBignum) {\r\n ^~~~~~~~~~\r\n mBignum\r\nmake: *** [Makefile:242: generator.o] Error 1\r\n\r\nmake failed, exit code 2\r\n\r\nGem files will remain installed in\r\nC:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/json-1.8.2 for inspection.\r\nResults logged to\r\nC:/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/json-1.8.2/gem_make.out\r\n\r\nAn error occurred while installing json (1.8.2), and Bundler cannot continue.\r\nMake sure that `gem install json -v '1.8.2' --source 'https://rubygems.org/'`\r\nsucceeds before bundling.\r\n\r\nIn Gemfile:\r\n github-pages was resolved to 33, which depends on\r\n jekyll-mentions was resolved to 0.2.1, which depends on\r\n html-pipeline was resolved to 1.9.0, which depends on\r\n activesupport was resolved to 4.2.0, which depends on\r\n json\r\n```\r\nTo fix, I had to `bundle update github-pages`. Looking through the difs for `Gemfile.lock`, the dependencies `redcarpet` and `pygments` are deleted. So moving to `script/server` command, I get errors because I'm missing those two dependencies. To fix those errors, I went to the `_config.yml` and changed it to `markdown: kramdown` and `highlighter: rouge`. The command `script/server` now works and the site is generated. I was curious if you'd like me to submit a PR for these dependency updates.\r\n\r\n","author":{"url":"https://github.com/RaevLogic","@type":"Person","name":"RaevLogic"},"datePublished":"2018-09-25T18:59:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/57/nodegit.github.com/issues/57"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:46139bcd-23df-beca-efeb-a9e849b039f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E128:1B8E26:8AE59BA:B417303:6975F809 |
| html-safe-nonce | aabaf8bffc64175263c578d06305fd0a3e2f438994e94eb10fd8c3be877d0f71 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTI4OjFCOEUyNjo4QUU1OUJBOkI0MTczMDM6Njk3NUY4MDkiLCJ2aXNpdG9yX2lkIjoiNTIzNjAzNDY0ODUzMzIzNTcyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b3996ae5c4d87ec529c68a3b12de6638da833a228055a9cf3f3404a20dcae5d1 |
| hovercard-subject-tag | issue:363722104 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit.github.com/57/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fced5bf8cc866f2cea092478cfb1619239b2471e1b866259933f9045c8b32ce4/nodegit/nodegit.github.com/issues/57 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fced5bf8cc866f2cea092478cfb1619239b2471e1b866259933f9045c8b32ce4/nodegit/nodegit.github.com/issues/57 |
| og:image:alt | After cloning the nodegit.github.io repo onto my system, I kept getting this error when running script/bootstrap || $ script/bootstrap Successfully installed bundler-1.16.5 Parsing documentation fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RaevLogic |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit.github.com git https://github.com/nodegit/nodegit.github.com.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1462352 |
| octolytics-dimension-repository_nwo | nodegit/nodegit.github.com |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1462352 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit.github.com |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width