{"id":7577,"date":"2021-12-25T08:47:01","date_gmt":"2021-12-24T23:47:01","guid":{"rendered":"https:\/\/yumishin.com\/?p=7577"},"modified":"2021-12-25T08:47:01","modified_gmt":"2021-12-24T23:47:01","slug":"rails7","status":"publish","type":"post","link":"https:\/\/yumishin.com\/?p=7577","title":{"rendered":"Rails7\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u3069\u3046\u3082\u3001\u4eca\u56de\u306fRails7\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3068\u8a00\u3046\u3053\u3068\u3067\u3001\u305d\u3061\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"i-0\">\u7d50\u8ad6<\/h2>\n<p>\u7d50\u8ad6\u306fRuby\u306e3\u7cfb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001gem install rails \u3092\u3057\u3066\u3042\u3052\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<h3 id=\"i-1\">\u5b9f\u969b\u306e\u30bf\u30fc\u30df\u30ca\u30eb<\/h3>\n<p>\u5b9f\u969b\u306b\u4f7f\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u8f09\u305b\u3066\u304a\u304f\u306e\u3067\u3001\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"pre_tag\"><span><i class=\"fa fa-code\"><\/i> <\/span><\/p>\n<pre><code>$ rbenv install -l\n2.6.9\n2.7.5\n3.0.3\njruby-9.3.2.0\nmruby-3.0.0\nrbx-5.0\ntruffleruby-21.3.0\ntruffleruby+graalvm-21.3.0\n\nOnly latest stable releases for each Ruby implementation are shown.\nUse 'rbenv install --list-all \/ -L' to show all local versions.\n\n$ rbenv install 3.0.3\nDownloading openssl-1.1.1l.tar.gz...\n-&gt; https:\/\/dqw8nmjcqpjn7.cloudfront.net\/0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1\nInstalling openssl-1.1.1l...\nInstalled openssl-1.1.1l to \/Users\/shinji\/.rbenv\/versions\/3.0.3\n\nDownloading ruby-3.0.3.tar.gz...\n-&gt; https:\/\/cache.ruby-lang.org\/pub\/ruby\/3.0\/ruby-3.0.3.tar.gz\nInstalling ruby-3.0.3...\nruby-build: using readline from homebrew\nInstalled ruby-3.0.3 to \/Users\/shinji\/.rbenv\/versions\/3.0.3\n\n$ rbenv rehash\n\n$ ruby -v\nruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin20]\n\n$ rbenv versions\n  system\n  3.0.0\n* 3.0.1 (set by \/Users\/shinji\/.rbenv\/version)\n  3.0.3\n\n$ rbenv global 3.0.3\n\n$ ruby -v\nruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-darwin21]\n\n$ gem install rails\nFetching thor-1.1.0.gem\nFetching method_source-1.0.0.gem\nFetching concurrent-ruby-1.1.9.gem\nFetching tzinfo-2.0.4.gem\nFetching i18n-1.8.11.gem\nFetching zeitwerk-2.5.1.gem\nFetching activesupport-7.0.0.gem\nFetching nokogiri-1.12.5-x86_64-darwin.gem\nFetching rack-2.2.3.gem\nFetching crass-1.0.6.gem\nFetching loofah-2.13.0.gem\nFetching rails-html-sanitizer-1.4.2.gem\nFetching rails-dom-testing-2.0.3.gem\nFetching rack-test-1.1.0.gem\nFetching erubi-1.10.0.gem\nFetching builder-3.2.4.gem\nFetching actionview-7.0.0.gem\nFetching actionpack-7.0.0.gem\nFetching railties-7.0.0.gem\nFetching mini_mime-1.1.2.gem\nFetching marcel-1.0.2.gem\nFetching activemodel-7.0.0.gem\nFetching activerecord-7.0.0.gem\nFetching globalid-1.0.0.gem\nFetching activejob-7.0.0.gem\nFetching activestorage-7.0.0.gem\nFetching actiontext-7.0.0.gem\nFetching mail-2.7.1.gem\nFetching actionmailer-7.0.0.gem\nFetching actionmailbox-7.0.0.gem\nFetching websocket-extensions-0.1.5.gem\nFetching websocket-driver-0.7.5.gem\nFetching rails-7.0.0.gem\nFetching nio4r-2.5.8.gem\nFetching actioncable-7.0.0.gem\nSuccessfully installed zeitwerk-2.5.1\nSuccessfully installed thor-1.1.0\nSuccessfully installed method_source-1.0.0\nSuccessfully installed concurrent-ruby-1.1.9\nSuccessfully installed tzinfo-2.0.4\nSuccessfully installed i18n-1.8.11\nSuccessfully installed activesupport-7.0.0\nSuccessfully installed nokogiri-1.12.5-x86_64-darwin\nSuccessfully installed crass-1.0.6\nSuccessfully installed loofah-2.13.0\nSuccessfully installed rails-html-sanitizer-1.4.2\nSuccessfully installed rails-dom-testing-2.0.3\nSuccessfully installed rack-2.2.3\nSuccessfully installed rack-test-1.1.0\nSuccessfully installed erubi-1.10.0\nSuccessfully installed builder-3.2.4\nSuccessfully installed actionview-7.0.0\nSuccessfully installed actionpack-7.0.0\nSuccessfully installed railties-7.0.0\nSuccessfully installed mini_mime-1.1.2\nSuccessfully installed marcel-1.0.2\nSuccessfully installed activemodel-7.0.0\nSuccessfully installed activerecord-7.0.0\nSuccessfully installed globalid-1.0.0\nSuccessfully installed activejob-7.0.0\nSuccessfully installed activestorage-7.0.0\nSuccessfully installed actiontext-7.0.0\nSuccessfully installed mail-2.7.1\nSuccessfully installed actionmailer-7.0.0\nSuccessfully installed actionmailbox-7.0.0\nSuccessfully installed websocket-extensions-0.1.5\nBuilding native extensions. This could take a while...\nSuccessfully installed websocket-driver-0.7.5\nBuilding native extensions. This could take a while...\nSuccessfully installed nio4r-2.5.8\nSuccessfully installed actioncable-7.0.0\nSuccessfully installed rails-7.0.0\n35 gems installed\nshinji@ShinjinoMacBook-Pro: ~ \n$ rails -v\nRails 7.0.0\n\n\n<\/code><\/pre>\n<\/div>\n<div id=\"gtx-trans\" style=\"position: absolute; left: -8px; top: 1002.75px;\">\n<div class=\"gtx-trans-icon\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u3001\u4eca\u56de\u306fRails7\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3068\u8a00\u3046\u3053\u3068\u3067\u3001\u305d\u3061\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u7d50\u8ad6 \u7d50\u8ad6\u306fRuby\u306e3\u7cfb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001gem install rails \u3092\u3057\u3066\u3042\u3052\u308c\u3070OK\u3067\u3059\u3002 \u5b9f\u969b\u306e\u30bf\u30fc &#8230; <\/p>\n","protected":false},"author":1,"featured_media":7580,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[256],"tags":[],"class_list":{"0":"post-7577","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-it","8":"entry"},"_links":{"self":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/7577","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=7577"}],"version-history":[{"count":2,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/7577\/revisions"}],"predecessor-version":[{"id":7579,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/7577\/revisions\/7579"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/media\/7580"}],"wp:attachment":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}