{"id":5442,"date":"2022-07-08T05:21:37","date_gmt":"2022-07-07T20:21:37","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=5442"},"modified":"2022-07-08T05:26:57","modified_gmt":"2022-07-07T20:26:57","slug":"%e5%8f%a4%e3%81%84ruby%e3%81%8c%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/5442","title":{"rendered":"\u53e4\u3044Ruby\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044"},"content":{"rendered":"\n<pre class=\"lang:default highlight:0 decode:true \" >$ rbenv install 2.7.2\r\nDownloading ruby-2.7.2.tar.bz2...\r\n-&gt; https:\/\/cache.ruby-lang.org\/pub\/ruby\/2.7\/ruby-2.7.2.tar.bz2\r\nInstalling ruby-2.7.2...\r\n\r\nBUILD FAILED (Ubuntu 22.04 using ruby-build 20220630-4-gda94a64)\r\n\r\nInspect or clean up the working tree at \/tmp\/ruby-build.20220707134146.17019.dV0Cyf\r\nResults logged to \/tmp\/ruby-build.20220707134146.17019.log\r\n\r\nLast 10 log lines:\r\nlinking shared-object fiddle.so\r\nmake[2]: Leaving directory '\/tmp\/ruby-build.20220707134146.17019.dV0Cyf\/ruby-2.7.2\/ext\/fiddle'\r\nripper.y: At top level:\r\ncc1: note: unrecognized command-line option \u2018-Wno-self-assign\u2019 may have been intended to silence earlier diagnostics\r\ncc1: note: unrecognized command-line option \u2018-Wno-parentheses-equality\u2019 may have been intended to silence earlier diagnostics\r\ncc1: note: unrecognized command-line option \u2018-Wno-constant-logical-operand\u2019 may have been intended to silence earlier diagnostics\r\nlinking shared-object ripper.so\r\nmake[2]: Leaving directory '\/tmp\/ruby-build.20220707134146.17019.dV0Cyf\/ruby-2.7.2\/ext\/ripper'\r\nmake[1]: Leaving directory '\/tmp\/ruby-build.20220707134146.17019.dV0Cyf\/ruby-2.7.2'\r\nmake: *** [uncommon.mk:295: build-ext] Error 2<\/pre>\n<pre class=\"lang:default highlight:0 decode:true \" >$ sudo apt show libssl-dev\r\nPackage: libssl-dev\r\nVersion: 3.0.2-0ubuntu1.6\r\nPriority: optional\r\nSection: libdevel\r\nSource: openssl\r\nOrigin: Ubuntu\r\nMaintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;\r\nOriginal-Maintainer: Debian OpenSSL Team &lt;pkg-openssl-devel@alioth-lists.debian.net&gt;\r\nBugs: https:\/\/bugs.launchpad.net\/ubuntu\/+filebug\r\nInstalled-Size: 7959 kB\r\nDepends: libssl3 (= 3.0.2-0ubuntu1.6)\r\nSuggests: libssl-doc\r\nConflicts: libssl1.0-dev\r\nHomepage: https:\/\/www.openssl.org\/\r\nDownload-Size: 2081 kB\r\nAPT-Manual-Installed: yes\r\nAPT-Sources: http:\/\/ports.ubuntu.com\/ubuntu-ports jammy-updates\/main armhf Packages\r\nDescription: Secure Sockets Layer toolkit - development files\r\n This package is part of the OpenSSL project's implementation of the SSL\r\n and TLS cryptographic protocols for secure communication over the\r\n Internet.\r\n .\r\n It contains development libraries, header files, and manpages for libssl\r\n and libcrypto.\r\n\r\nN: There is 1 additional record. Please use the '-a' switch to see it<\/pre>\n<p><a href=\"https:\/\/www.hsbt.org\/diary\/20220512.html\">Ubuntu 22.04 \u306b\u306f OpenSSL 3 \u3057\u304b\u5b58\u5728\u3057\u306a\u3044\u305f\u3081 Ruby 3.1 \u672a\u6e80\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30d3\u30eb\u30c9\u3067\u304d\u306a\u3044\u554f\u984c<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ rbenv install 2.7.2 Downloading ruby-2.7.2.tar.bz2&#8230; -&gt; https:\/\/cache.ruby-lang.org\/pub\/ruby\/2.7\/ruby-2. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[12,54],"class_list":["post-5442","post","type-post","status-publish","format-standard","hentry","category-memo","tag-ruby","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=5442"}],"version-history":[{"count":6,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5442\/revisions"}],"predecessor-version":[{"id":5448,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5442\/revisions\/5448"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=5442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=5442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=5442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}