{"id":3984,"date":"2023-09-22T21:58:56","date_gmt":"2023-09-22T21:58:56","guid":{"rendered":"https:\/\/material.watanab2.mbsrv.net\/blog\/?p=3984"},"modified":"2023-09-23T08:26:52","modified_gmt":"2023-09-23T08:26:52","slug":"ruby314","status":"publish","type":"post","link":"https:\/\/material.watanab2.mbsrv.net\/blog\/2023\/09\/ruby314\/","title":{"rendered":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u3001root\u6a29\u9650\u7121\u3057\u3001ssh\u3042\u308a\u74b0\u5883\u3067\u53e4\u3044ruby\u304b\u3089\u6700\u65b0ruby\u3092\u30e6\u30fc\u30b6\u30fc\u9818\u57df\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"\n<p>\u3084\u3063\u3068\u3046\u307e\u304f\u3044\u3063\u305f\u3093\u3067\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"132\" src=\"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-22-21.18.53-1024x132.png\" alt=\"\" class=\"wp-image-3985\" srcset=\"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-22-21.18.53-1024x132.png 1024w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-22-21.18.53-300x39.png 300w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-22-21.18.53-768x99.png 768w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-22-21.18.53-1536x198.png 1536w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-22-21.18.53-2048x264.png 2048w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-22-21.18.53-640x83.png 640w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-22-21.18.53-1200x155.png 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u501f\u308a\u3066\u3066\u3001Ruby on Rails\u3092\u52d5\u304b\u3057\u305f\u304f\u306a\u3063\u3066\u3001\u304d\u3063\u3068ssh\u63a5\u7d9a\u3082\u3067\u304d\u308b\u306e\u3060\u304b\u3089\u305d\u3093\u306a\u56f0\u96e3\u3082\u306a\u304fRails\u4f7f\u3048\u308b\u3060\u308d\u3046\u306a\u3063\u3066\u8003\u3048\u3066\u305f\u3089\u3001\u3044\u3056\u3084\u3063\u3066\u307f\u305f\u3089\u3048\u3089\u3044\u56f0\u96e3\u306a\u30cf\u30fc\u30c9\u30eb\u304c\u3042\u3063\u305f\u306e\u3067\u4e57\u308a\u8d8a\u3048\u305f\u3042\u305f\u308a\u3092\u30d6\u30ed\u30b0\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>Cent OS 6.1<\/p>\n\n\n\n<p>Ruby 1.7<\/p>\n\n\n\n<p>ssh\u4f7f\u7528\u53ef\u80fd<\/p>\n\n\n\n<p>root\u6a29\u9650\u7121\u3057<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#04ff00\">mkdir libyaml-devel<br>cd libyaml-devel<br>wget &#8211;no-check-certificate https:\/\/pyyaml.org\/download\/libyaml\/yaml-0.1.5.tar.gz<br>tar zxvf yaml-0.1.5.tar.gz<br>cd yaml-0.1.5<br>mkdir ~\/local\/libyaml-devel-015<br>.\/configure &#8211;prefix=\/home\/yourname\/local\/libyaml-devel-015<br>make<br>make install<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#04ff00\">cd<br>cd ruby-source\/ruby-3.2.2<br>.\/configure RUBY_CONFIGURE_OPTS=&#8221;&#8211;prefix=\/home\/yourname\/ruby-source &#8211;with-libyaml-dir=\/local\/libyaml-devel-015 &#8211;with-openssl-dir=\/home\/yourname\/openssl&#8221;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u7d50\u8ad6\u3068\u3057\u3066ruby\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u81ea\u5206\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u305d\u306e\u969byaml\u304c\u3046\u307e\u304f\u8aad\u307f\u8fbc\u3081\u306a\u3044\u4e0d\u5177\u5408\u304c\u3042\u3063\u305f\u306e\u3067\u3001<strong>\u6700\u65b0\u7248\u306eruby3.2.2\u30923.1.4\u306b\u4e00\u3064\u4e0b\u3052\u305f\u306e\u3092\u4f7f\u3044\u3001yaml-devel\u3082\u6700\u65b0\u306e0.2.5\u304b\u30890.1.5\u306b\u4e0b\u3052\u3066<\/strong>\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u3089make install\u307e\u3067\u901a\u308a\u3001\u7121\u4e8b\u30e6\u30fc\u30b6\u30fc\u9818\u57df\u3067ruby\u3092\u4f7f\u3044\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u307e\u307e\u3059\u3050ruby\u3067\u30b3\u30de\u30f3\u30c9\u304c\u53cd\u5fdc\u3059\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3001.bash_profile\u306b\u30e6\u30fc\u30b6\u30fc\u9818\u57df\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fruby\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066\u3042\u3052\u308b\u3053\u3068\u3082\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#16ff01\">.bash_profile &gt;&gt; echo \u201c~\/ruby-sourcedir\/ruby-3.1.4\/\u201c<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#16ff01\">source .bash_profile<\/p>\n\n\n\n<p>\u3053\u308c\u3067ruby3.1.4\u304cruby -v\u3068\u6253\u3064\u3068\u53cd\u5fdc\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"500\" src=\"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-23-1.59.37-1024x500.png\" alt=\"\" class=\"wp-image-3986\" srcset=\"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-23-1.59.37-1024x500.png 1024w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-23-1.59.37-300x146.png 300w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-23-1.59.37-768x375.png 768w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-23-1.59.37-640x312.png 640w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-23-1.59.37-1200x586.png 1200w, https:\/\/material.watanab2.mbsrv.net\/blog\/wp-content\/uploads\/2023\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-09-23-1.59.37.png 1266w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>~\/ruby-source\/ruby-3.1.4\/ruby*<\/p>\n\n\n\n<p>\u3068make install\u5f8c\u3001\u30e6\u30fc\u30b6\u30fc\u9818\u57df\u3067ruby\u304c\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4ed6\u306b\u3082\uff12\u65e5\u307b\u3069\u3069\u3063\u3077\u308a\u6d78\u304b\u3063\u3066\u305f\u304f\u3055\u3093\u306e\u3053\u3068\u3092\u8a66\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u691c\u7d22\u3057\u3066\u3082\u51fa\u3066\u3053\u306a\u304b\u3063\u305f\u554f\u984c\u90e8\u5206\u3060\u3051\u3092\u5148\u982d\u306b\u8f09\u305b\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4ed6\u306e\u3053\u3068\u306f\u691c\u7d22\u3057\u305f\u3089\u8f09\u3063\u3066\u308b\u3053\u3068\u3060\u3051\u306a\u306e\u3067\u3002\u6700\u7d42\u7684\u306byaml-devel\u304c\u304a\u304b\u3057\u3044\u3063\u3066\u3044\u3046\u3068\u3053\u308d\u3067\u3064\u307e\u3065\u3044\u3066\u81ea\u529b\u3067\u901a\u305b\u305f\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u3053\u3053\u304b\u3089\u306f\u5931\u6557\u96c6\u3001\u3068\u304b\u3046\u307e\u304f\u3044\u304f\u307e\u3067\u306e\u524d\u5ea7\u7684\u306a\u304a\u8a71<\/h2>\n\n\n\n<p>\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u696d\u8005\u304c\u53e4\u3044OS\u3084Ruby,PHP\u306a\u3069\u3092\u4f7f\u3063\u3066\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002\u3044\u308d\u3093\u306a\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3057\u305f\u304c\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u3002\u3068\u3044\u3046\u306e\u304c\u3051\u3063\u3053\u3046\u5171\u901a\u70b9\u306a\u554f\u984c\u306a\u3088\u3046\u3067\u3059\u3002\u306a\u305c\u53e4\u3044\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u306e\u304b\u3001\u7d4c\u55b6\u9663\u306e\u982d\u304c\u53e4\u304f\u306a\u3063\u305f\u306e\u304b\u3001\u79c1\u306e\u4f7f\u3063\u3066\u308b\u3068\u3053\u308d\u306f\u305f\u3076\u3093\u30d9\u30f3\u30c1\u30e3\u30fc\u7cbe\u795e\u65fa\u76db\u306a\u3068\u3053\u308d\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001Ruby on Rails\u4f7f\u3044\u305f\u3044\u304b\u3089Ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u307b\u3057\u3044\u3001\u3068\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u9001\u4fe1\u3057\u305f\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306f\u5374\u4e0b\u306a\u308a\u3001\u3068\u8fd4\u4fe1\u304c\u6765\u307e\u3057\u305f\u3002\u305d\u3053\u3060\u3051\u306a\u3089\u4e57\u308a\u63db\u3048\u304b\u306a\u3042\u3068\u601d\u3046\u3093\u3067\u3059\u304c\u3001\u4ed6\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3082\u4e8b\u60c5\u3092\u8abf\u3079\u3066\u308b\u3068\u540c\u3058\u304f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u554f\u984c\u304c\u3042\u308b\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n\n\n\n<p>\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u308b\u3068\u65b0\u3057\u3044\u30a2\u30d7\u30ea\u304c\u52d5\u304b\u306a\u304b\u3063\u305f\u308a\u3068\u4e0d\u5177\u5408\u304c\u3042\u308b\u3093\u3067\u3059\u304c\u3001\u591a\u304f\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u304c\u3042\u3048\u3066\u306a\u306e\u304b\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u307e\u307e\u306b\u3057\u3066\u308b\u307f\u305f\u3044\u3067\u3059\u3002\u3053\u308c\u306f\u8003\u3048\u306a\u304f\u53e4\u3044\u307e\u307e\u306b\u3059\u308b\u308f\u3051\u304c\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u3084\u3063\u3071\u308a\u6700\u65b0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5229\u7528\u3057\u304c\u3061\u306a\u30a6\u30a3\u30eb\u30b9\u5bfe\u7b56\u306a\u306e\u3067\u3057\u3087\u3046\u304b\u306d\u3002\u53e4\u3044OS\u3067\u306f\u6700\u65b0\u306e\u30a6\u30a3\u30eb\u30b9\u306f\u52d5\u4f5c\u3057\u306a\u3044\u3053\u3068\u3092\u7406\u89e3\u3057\u3066\u306e\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u53e4\u3044\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u3002\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3067\u306a\u3044\u3068\u6700\u65b0\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u624b\u9593\u306a\u3093\u3066\uff11\u884c\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3060\u3051\u306a\u306e\u3067\u3001\u305d\u308c\u3060\u3051\u3067\u4f01\u696d\u4fa1\u5024\u30a2\u30c3\u30d7\u306a\u3089\u7387\u5148\u3057\u3066\u6700\u65b0\u306b\u3059\u308b\u306f\u305a\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u672c\u6c17\u3067\u5bfe\u7b56\u3092\u3057\u3066\u3044\u308b\u4eba\u305f\u3061\u306f\u308f\u3056\u308f\u3056\u304a\u304a\u3084\u3051\u306b\u5bfe\u7b56\u3092\u65bd\u3057\u3066\u308b\u3053\u3068\u3092\u8a00\u308f\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u9ed9\u3063\u3066\u81ea\u5206\u305f\u3061\u3060\u3051\u5bfe\u7b56\u3092\u3057\u3066\u81ea\u5206\u306e\u5b89\u5168\u3060\u3051\u3092\u78ba\u4fdd\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u305a\u6700\u521d\u306b\u3084\u3063\u3066\u307f\u305f\u3053\u3068<\/h2>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#05ff01\">ruby -v<\/p>\n\n\n\n<p>\u3067\u73fe\u5728\u306e\u4f7f\u7528\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u308b\u3068\u3053\u308d\u304b\u3089\u3067\u3059\u3088\u306d\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u306f1.7\u3092\u4f7f\u3063\u3066\u307e\u3057\u305f\u3002system\u30c7\u30d5\u30a9\u30eb\u30c8\u306eruby\u306a\u306e\u3067\u304b\u306a\u308a\u53e4\u3044\u3067\u3059\u3002\u73fe\u5728\u306e\u6700\u65b0\u7248\u306f3.2.2\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3092\u6700\u65b0\u306b\u3057\u306a\u3044\u3068Ruby on Rails\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3059\u3089\u3067\u304d\u306a\u3044\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u7d9a\u3044\u3066\u666e\u901a\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u8a66\u307f\u3066\u307f\u308b\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#1aff00\">yum install update<\/p>\n\n\n\n<p>\u307b\u3093\u3068\u306f apt get update \u3068\u6253\u3063\u305f\u3093\u3067\u3059\u304c\u3001Cent OS\u3060\u3068yum\u3060\u3089\u3057\u3044\u3067\u3059\u306d\u3002\u305d\u3082\u305d\u3082root\u3058\u3083\u306a\u3044\u306e\u3067yum update\u306f\u3067\u304d\u306a\u3044\u3093\u3067\u3059\u304c\u3001\u4e00\u5fdc\u6253\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u3082\u3061\u308d\u3093ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u5909\u308f\u3063\u3066\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff0d\">sudo yum install update<\/p>\n\n\n\n<p>\u3053\u308c\u3082\u3082\u3061\u308d\u3093\u3001root\u6a29\u9650\u304c\u306a\u3044\u306e\u3067\u81ea\u5206\u306froot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u77e5\u308a\u307e\u305b\u3093\u304b\u3089\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#11ff00\">rbenv install 3.2.2<\/p>\n\n\n\n<p>rbenv\u304b\u3089\u666e\u901a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u3066\u307f\u308b\u3002\u5f53\u7136\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u307e\u3057\u305f\u304c\u3001\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3053\u3068\u3092\u7a4d\u307f\u91cd\u306d\u3066\u3044\u304f\u3068\u6b63\u89e3\u306b\u8fbf\u308a\u7740\u304d\u3084\u3059\u304f\u306a\u308b\u3093\u3067\u3059\u3002<\/p>\n\n\n\n<p>\/tmp\/ruby-build.20230922051632.12113.log<\/p>\n\n\n\n<p>\u30a8\u30e9\u30fc\u306b\u30ed\u30b0\u3092\u8aad\u3093\u3067\u3001\u3068\u66f8\u3044\u3066\u3042\u3063\u305f\u306e\u3067\u30ed\u30b0\u3092\u8aad\u3080\u3001\u3053\u308c\u3082\u610f\u5473\u7121\u3057\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">wget &#8211;no-check-certificate http:\/\/pyyaml.org\/download\/libyaml\/yaml-0.2.5.tar.gz<\/p>\n\n\n\n<p>libyaml\u304c\u306a\u3093\u304b\u304a\u304b\u3057\u3044\u3088\u3001\u3068\u66f8\u3044\u3066\u3042\u3063\u3066\u691c\u7d22\u3059\u308b\u3068yaml-devel\u304c\u5fc5\u8981\u3068\u3042\u3063\u3066\u3001\u5f53\u7136yum install\u306f\u4f7f\u3048\u306a\u3044\u306e\u3067\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u76f4\u63a5\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00fe00\">cd yaml-0.2.5<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00fe00\">.\/configure &#8211;prefix=$HOME\/local<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00fe00\">gmake<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00fe00\">gmake install<\/p>\n\n\n\n<p>.\/configure\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092&#8211;prefix\u3067\u81ea\u5206\u306e\u30e6\u30fc\u30b6\u30fc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002root\u6a29\u9650\u304c\u306a\u3044\u304b\u3089\u81ea\u5206\u306e\u7ba1\u7406\u4e0b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u308f\u3051\u3067\u3059\u3002yaml\u306einstall\u3067\u5931\u6557\u3059\u308b\u3053\u3068\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>&#8211;no-check-certificate \u306fCent OS\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u53b3\u3057\u3044\u306e\u3067wget\u3059\u308b\u3068\u304d\u3082no-check\u3063\u3066\u5165\u308c\u306a\u3044\u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3082\u3057\u306a\u3044\u4ed5\u69d8\u306a\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">CC=gcc RUBY_CONFIGURE_OPTS=&#8221;&#8211;with-openssl-dir=\/usr\/local &#8211;with-libyaml-dir=$HOME\/local&#8221; TMPDIR=&#8221;$HOME\/tmp&#8221; rbenv install 3.2.2<\/p>\n\n\n\n<p>\u691c\u7d22\u3057\u3066\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067ruby\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\u3092\u898b\u3064\u3051\u3066\u305d\u306e\u307e\u307e\u5b9f\u884c\u3002rbenv\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305b\u3044\u304b\u3053\u308c\u3082\u5931\u6557\u3057\u307e\u3059\u3002\u3072\u3087\u3063\u3068\u3057\u305f\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0b\u3052\u3066\u3084\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u304c\u3001\u8a66\u3057\u3066\u305f\u6642\u306f\u5931\u6557\u3068\u3057\u3066\u304a\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><strong>openssl-devel<\/strong><\/p>\n\n\n\n<p>openssl\u3082\u3044\u307e\u3060\u306b1.01\u304c\u5165\u3063\u3066\u3044\u3066\u3001\u3053\u308c\u3082\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u81ea\u5206\u306e\u30e6\u30fc\u30b6\u30fc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f32.7\u4ee5\u4e0a\u3060\u3068openssl\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u4e0a\u3052\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff0d\">CC=gcc RUBY_CONFIGURE_OPTS=&#8221;&#8211;with-openssl-dir=\/usr\/local &#8211;with-libyaml-dir=$HOME\/local&#8221; TMPDIR=&#8221;$HOME\/tmp&#8221; &#8211;prefix=\/home\/your-directry\/.rbenv\/versions\/3.2.2 &#8211;enable-shared LDFLAGS=-L\/home\/your-directry\/.rbenv\/versions\/3.2.2\/lib CPPFLAGS=-I\/home\/your-directry\/.rbenv\/versions\/3.2.2\/include rbenv install 3.2.2<\/p>\n\n\n\n<p>\u3082\u3046\u4e00\u5ea6\u3001~\/ \u3053\u306e\u76f8\u5bfe\u30d1\u30b9\u3067\u306f\u306a\u304f\u3001\/home\/your-directry\/ \u306e\u3088\u3046\u306a\u7d76\u5bfe\u30d1\u30b9\u3067\u6307\u5b9a\u3057\u308d\u3063\u3066\u66f8\u3044\u3066\u3042\u3063\u3066\u3001\u5909\u66f4\u3057\u3066\u518d\u5ea6\u5b9f\u884c\u3002\u3053\u308c\u3082\u3046\u307e\u304f\u306f\u3044\u304b\u306a\u304b\u3063\u305f\u3093\u3067\u3059\u304c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u5909\u308f\u3063\u3066\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><strong>FAILD ruby-build<\/strong><\/p>\n\n\n\n<p>\u3068ruby-build\u304c\u539f\u56e0\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u304b\u308c\u3066\u3044\u305f\u306e\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u9818\u57df\u306b\u3042\u308bruby-build\u3092.bash_profile\u306b$PATH\u3092\u901a\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff0d\">echo \u201c$PATH=~\/ruby\/bin\/ruby-build\u201d &gt;&gt; ~\/.bash_profile<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff0d\">source ~\/.bash_profile<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u30e6\u30fc\u30b6\u30fc\u9818\u57df\u306eruby-build\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u7d50\u5c40ruby-build\u306e\u53c2\u7167\u5148\u3092\u5909\u3048\u3066\u3082FAILD ruby-build\u306e\u30a8\u30e9\u30fc\u8868\u793a\u306f\u5909\u308f\u3089\u305a\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p><strong>open-ssl<\/strong><\/p>\n\n\n\n<p>\u3053\u308c\u3082\u5fc5\u8981\u306a\u3089\u3057\u3044\u306e\u3067\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u9818\u57df\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">mkdir -p openssl\/src<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">cd openssl\/src<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">wget &#8211;no-check-certificate https:\/\/www.openssl.org\/source\/openssl-3.1.3.tar.gz<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">tar -zxvf openssl-3.1.3.tar.gz<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">cd openssl-3.1.3<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">mkdir ~\/openssl\/openssl<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">.\/config &#8211;prefix=\/home\/your-directry\/openssl\/openssl<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">make<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff04\">make install<\/p>\n\n\n\n<p>openssl\u306e.\/config\u306e\u3068\u3053\u308d\u3067\u306f~\/ \u76f8\u5bfe\u30d1\u30b9\u3092\u4f7f\u3046\u306a\u3001\u3068\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u305f\u306e\u3067\/home\u304b\u3089\u306e\u7d76\u5bfe\u30d1\u30b9\u3067prefix\u3092\u6307\u5b9a\u3057\u307e\u3057\u305f\u3002\u305d\u308c\u4ee5\u5916\u306f\u30a8\u30e9\u30fc\u3082\u51fa\u308b\u3053\u3068\u306a\u304f\u3001make install\u307e\u3067\u901a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff15\">TMPDIR=~\/tmp RUBY_CONFIGURE_OPTS=&#8211;with-openssl-dir=~\/openssl &#8211;with-libyaml-dir=$HOME\/local&#8221; rbenv install 3.2.2<\/p>\n\n\n\n<p>openssl\u3068libyaml\u3082\u81ea\u524d\u3067\u7528\u610f\u3057\u305f\u306e\u3092\u5834\u6240\u6307\u5b9a\u3057\u3066\u518d\u5ea6rbenv install\u3092\u8a66\u307f\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3082\u5931\u6557\u3002<\/p>\n\n\n\n<p>rbenv\u304b\u3089\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u308b\u4f5c\u6226\u306f\u601d\u3044\u3064\u304f\u9650\u308a\u306e\u3053\u3068\u3092\u3057\u3066\u3082\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u6b21\u306e\u4f5c\u6226\u306fruby\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u76f4\u63a5\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002rbenv\u3082\u672c\u5f53\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u30923.1.4\u306b\u4e0b\u3052\u3066\u3084\u308c\u3070\u5165\u3063\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff2f\">wget https:\/\/cache.ruby-lang.org\/pub\/ruby\/3.2\/ruby-3.2.2.tar.gz<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff2f\">tar zxvf *.tar.gz<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff2f\">cd ruby-3.2.2<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff2f\">.\/configure &#8211;prefix=\/home\/your-directry\/ruby-source<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff2f\">make<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff2f\">make install<\/p>\n\n\n\n<p>.\/configure\u3059\u308b\u3068\u304d\u306broot\u6a29\u9650\u304c\u306a\u3044\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3060\u3068\u3001\u81ea\u5206\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3001&#8211;prefix\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u6307\u5b9a\u3057\u3066\u3042\u3052\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3001yaml\u304c\u306a\u3093\u304b\u304a\u304b\u3057\u3044\u3001\u3068\u51fa\u3066\u304d\u305f\u306e\u3067\u518d\u5ea6.\/configure<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#01fe0e\">.\/configure &#8211;prefix=\/home\/your-directry\/ruby-source &#8211;with-libyaml-dir=\/home\/your-directry\/yaml-025<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#01fe0e\">make<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#01fe0e\">make install<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u3082make\u306e\u6642\u70b9\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8aad\u3093\u3067\u3082\u4e0d\u5177\u5408\u304c\u3088\u304f\u308f\u304b\u3089\u305a\u3002<\/p>\n\n\n\n<p><strong>cannot load such file &#8212; psych<\/strong><\/p>\n\n\n\n<p>\u304c\u51fa\u3066\u3044\u307e\u3057\u305f\u3002\u30a8\u30e9\u30fc\u306f\u4e00\u3064\u3065\u3064\u7247\u4ed8\u3051\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u3068\u691c\u7d22\u3057\u3066psych\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u3053\u308c\u306f\u3042\u3093\u307e\u308a\u95a2\u4fc2\u306a\u3044\u306e\u304b\u3001\u7d50\u5c40\u624b\u3092\u4ed8\u3051\u305a\u306b\u6e08\u307e\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00fe26\">yum list installed | grep libyaml-devel<\/p>\n\n\n\n<p>libyaml-devel\u304c\u5fc5\u8981\u3001\u3068\u691c\u7d22\u3057\u3066\u305f\u3089\u51fa\u3066\u304d\u3066\u3001yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3055\u3063\u304d\u76f4\u63a5\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fyaml-0.2.5\u306e\u3053\u3068\u3060\u305d\u3046\u3067\u3059\u3002yum\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u306a\u3044\u306e\u3067\u3001yum\u306elist\u306b\u306f\u51fa\u3066\u3053\u306a\u3044\u3093\u3067\u3059\u304c\u3001\u3061\u3083\u3093\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u601d\u3044\u3064\u304f\u3053\u3068\u3092\u5168\u3066\u3084\u3063\u3066\u3001\u4e07\u7b56\u5c3d\u304d\u305f\u3002\u3068\u601d\u3063\u305f\u3068\u3053\u308d\u3067\u3075\u3068\u3001ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u3063\u3066\u3053\u3068\u306f\u3001Cent OS\u3082\u53e4\u3044\u306e\u3092\u4f7f\u3063\u3066\u3066\u3001\u3072\u3087\u3063\u3068\u3057\u305f\u3089\u6700\u65b0\u306eruby\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5bfe\u5fdc\u3057\u3066\u306a\u3044\u3093\u3058\u3083\u3001\u3068\u601d\u3063\u3066\u4e07\u7b56\u5c3d\u304d\u305f\u306e\u3060\u3057\u3001\u601d\u3044\u3064\u304f\u9650\u308a\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u8a66\u3057\u3066\u884c\u3063\u3066\u307f\u308b\u3001\u3082\u3084\u3063\u3066\u307f\u3088\u3046\u3001\u3068\u3057\u305f\u3089\u305d\u308c\u304c\u5f53\u305f\u308a\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff26\">wget &#8211;no-check-certificate https:\/\/pyyaml.org\/download\/libyaml\/yaml-0.1.5.tar.gz<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff26\">tar zxvf *.tar.gz<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff26\">mkdir ~\/local\/libyaml-devel-015<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff26\">cd yaml-0.1.5<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff26\">.\/configure &#8211;prefix=\/home\/your-directry\/local\/libyaml-devel-015<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff26\">make<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff26\">install<\/p>\n\n\n\n<p>\u3068\u3001\u307e\u305a\u306fyaml-0.2.5\u304b\u3089yaml-0.1.5\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30c0\u30a6\u30f3\u3057\u3066\u5225\u9014\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff1e\">cd ruby-source<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff1e\">cd ruby-3.2.2<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff1e\">.\/configure RUBY_CONFIGURE_OPTS=&#8221;&#8211;prefix=\/home\/your-directry\/ruby-source &#8211;with-libyaml-dir=\/local\/libyaml-devel-015 &#8211;with-openssl-dir=\/home\/your-directry\/openssl&#8221;<\/p>\n\n\n\n<p>\u6700\u65b0\u306eruby3.2.2\u306b<strong>libyaml\u30920.1.5\u306b\u4e0b\u3052\u3066.\/configure<\/strong>\u3057\u3066\u307f\u308b\u3068\u3001make\u306b\u5909\u5316\u304c\u3002\u3061\u3087\u3063\u3068\u9032\u3093\u3060\u611f\u3058\u304c\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff37\">wget https:\/\/cache.ruby-lang.org\/pub\/ruby\/3.1\/ruby-3.1.4.tar.gz<\/p>\n\n\n\n<p>ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30823.2.2\u304b\u30893.1.4\u306b\u4e0b\u3052\u3066\u307f\u307e\u3057\u305f\u3002\u30c0\u30e1\u5143\u306a\u306e\u3067\u3046\u307e\u304f\u3044\u304f\u307e\u3067\u3069\u3093\u3069\u3093\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0b\u3052\u3066\u3044\u304f\u610f\u6c17\u8fbc\u307f\u306f\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u3053\u3053\u3067\u6210\u529f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff15\">tar zxvf ruby-3.1.4.tar.gz<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff15\">cd ruby-3.1.4<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff15\">.\/configure RUBY_CONFIGURE_OPTS=&#8221;&#8211;prefix=\/home\/your-directry\/ruby-source &#8211;with-libyaml-dir=\/local\/libyaml-devel-015 &#8211;with-openssl-dir=\/home\/your-directry\/openssl&#8221;<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff15\">make<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff15\">make install<\/p>\n\n\n\n<p>\u3044\u3064\u3082\u306e\u8abf\u5b50\u306a\u3089\u3001make\u306e\u3068\u3053\u308d\u3067ERROR 1\u304c\u51fa\u3066\u9032\u3081\u306a\u3044\u3093\u3067\u3059\u304c\u30013.1.4\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0b\u3052\u305f\u3068\u3053\u308d\u3001make\u304c\u3069\u3093\u3069\u3093\u9032\u3093\u3067\u3044\u3063\u3066\u3001\u5b8c\u4e86\u3057\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u305d\u3057\u3066make install\u3002\u3053\u308c\u3067\u30aa\u30c3\u30b1\u30fc\u3002<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#01ff27\">.\/ruby -v<\/p>\n\n\n\n<p>~\/ruby-source \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3067\u3001\u305d\u3053\u306bruby\u306e\u5b9f\u884c\u30b3\u30de\u30f3\u30c9\u3082\u5165\u3063\u3066\u3044\u307e\u3059\u3002\u306a\u306e\u3067.\/ruby -v \u30673.1.4\u3068\u7d50\u679c\u304c\u8fd4\u3063\u3066\u3053\u3044\u3070install\u5b8c\u4e86\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u305f\u3060\u5358\u306bruby\u3068\u6253\u3063\u3066\u30823.1.4\u306e\u65b9\u306eruby\u3092\u4f7f\u3046\u3088\u3046\u306b.bash_profile\u306b$PATH\u3092\u8a18\u5165\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">.bash_profile<\/h2>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff37\">echo \u201c~\/ruby-source\/ruby-3.1.4\u201d &gt;&gt; .bash_profile<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#00ff37\">source .bash_profile<\/p>\n\n\n\n<p>\u3053\u308c\u3067<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#01ff30\">ruby -v<\/p>\n\n\n\n<p class=\"has-dark-gray-background-color has-text-color has-background\" style=\"color:#01ff30\">3.1.4<\/p>\n\n\n\n<p>\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5207\u308a\u66ff\u308f\u3063\u3066\u3044\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3044\u3084\u3042\u30012\u65e5\u304f\u3089\u3044\u3069\u3063\u3077\u308a\u30cf\u30de\u3063\u3066\u305a\u3063\u3068\u9811\u5f35\u3063\u3066\u307e\u3057\u305f\u3002VPS\u30b5\u30fc\u30d0\u30fc\u3092\u501f\u308a\u308c\u3070root\u6a29\u9650\u4ed8\u304d\u3067\u3001\u305d\u3093\u306a\u306b\u60a9\u307e\u306a\u304b\u3063\u305f\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u3082\u81ea\u5206\u306e\u30e6\u30fc\u30b6\u30fc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u4f7f\u3048\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3092\u77e5\u3063\u3066\u3001\u3053\u308c\u304c\u3067\u304d\u308c\u3070VPS\u30b5\u30fc\u30d0\u30fc\u306b\u4e57\u308a\u63db\u3048\u3057\u306a\u304f\u3066\u3082\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3001\u3063\u3066\u601d\u3063\u3066\u3001VPS\u3068\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3060\u3068\u3001\u3084\u306f\u308a\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306e\u65b9\u304c\u5b89\u3044\u3093\u3067\u3001\u3067\u304d\u305f\u3089\u4e00\u756a\u3044\u3044\u3093\u3067\u306f\u3063\u3066\u601d\u3063\u3066\u306e\uff12\u65e5\u9593\u306e\u9811\u5f35\u308a\u3067\u3057\u305f\u306d\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3084\u3063\u3068\u3046\u307e\u304f\u3044\u3063\u305f\u3093\u3067\u3002 \u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u501f\u308a\u3066\u3066\u3001Ruby on Rails\u3092\u52d5\u304b\u3057\u305f\u304f\u306a\u3063\u3066\u3001\u304d\u3063\u3068ssh\u63a5\u7d9a\u3082\u3067\u304d\u308b\u306e\u3060\u304b\u3089\u305d\u3093\u306a\u56f0\u96e3\u3082\u306a\u304fRails\u4f7f\u3048\u308b\u3060\u308d\u3046\u306a\u3063\u3066\u8003\u3048\u3066\u305f\u3089\u3001\u3044\u3056\u3084\u3063\u3066\u307f\u305f\u3089\u3048\u3089\u3044\u56f0\u96e3\u306a\u30cf\u30fc &hellip; <a href=\"https:\/\/material.watanab2.mbsrv.net\/blog\/2023\/09\/ruby314\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u3001root\u6a29\u9650\u7121\u3057\u3001ssh\u3042\u308a\u74b0\u5883\u3067\u53e4\u3044ruby\u304b\u3089\u6700\u65b0ruby\u3092\u30e6\u30fc\u30b6\u30fc\u9818\u57df\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[162],"tags":[159],"class_list":["post-3984","post","type-post","status-publish","format-standard","hentry","category-software-categories","tag-159"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/posts\/3984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/comments?post=3984"}],"version-history":[{"count":3,"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/posts\/3984\/revisions"}],"predecessor-version":[{"id":3990,"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/posts\/3984\/revisions\/3990"}],"wp:attachment":[{"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/media?parent=3984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/categories?post=3984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/material.watanab2.mbsrv.net\/blog\/wp-json\/wp\/v2\/tags?post=3984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}