{"id":7616,"date":"2022-01-03T06:31:55","date_gmt":"2022-01-02T21:31:55","guid":{"rendered":"https:\/\/yumishin.com\/?p=7616"},"modified":"2022-01-03T06:31:55","modified_gmt":"2022-01-02T21:31:55","slug":"latest-ruby","status":"publish","type":"post","link":"https:\/\/yumishin.com\/?p=7616","title":{"rendered":"\u6700\u65b0Ruby\u30d0\u30fc\u30b8\u30e7\u30f3\u3092rbenv\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"pre_tag\"><span><i class=\"fa fa-code\"><\/i> \u6700\u65b0\u306eRuby\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/span><\/p>\n<pre><code># \u307e\u305a\u306fHomebrew\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\nbrew update\n\n# \u7d9a\u3044\u3066rbenv\u3068ruby-build\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\nbrew upgrade rbenv ruby-build\n\n# \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u306aruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\nrbenv install --list\n\n# Ruby\u306e\u6307\u5b9a\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3(\u4eca\u56de\u306f\uff13.1.0)\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\nrbenv install 3.1.0\n\n# \u6307\u5b9a\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3(\u4eca\u56de\u306f3.1.0)\u304c\u30ed\u30fc\u30ab\u30eb\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d \nrbenv versions \n\n# \u901a\u5e38\u4f7f\u3046 Ruby\u3092\u8a2d\u5b9a\nrbenv global 3.1.0\n\n# \u8a2d\u5b9a\u7d50\u679c\u3092\u78ba\u8a8d\nrbenv version<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":7619,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[272],"tags":[],"class_list":{"0":"post-7616","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-programing","8":"entry"},"_links":{"self":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/7616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7616"}],"version-history":[{"count":3,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/7616\/revisions"}],"predecessor-version":[{"id":7626,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/7616\/revisions\/7626"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/media\/7619"}],"wp:attachment":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}