{"id":300,"date":"2013-09-28T00:29:25","date_gmt":"2013-09-27T15:29:25","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=300"},"modified":"2017-02-13T14:24:04","modified_gmt":"2017-02-13T05:24:04","slug":"rbenv-rehash","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/300","title":{"rendered":"rbenv rehash"},"content":{"rendered":"<p>rbenv\u74b0\u5883\u3067install\u3084gem\u3092\u4f7f\u3063\u305f\u5f8c\u306frehash\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p><\/p>\n<h2>1. gem\u3092\u4f7f\u3063\u3066mgem\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/h2>\n<pre class=\"lang:sh decode:true \" >$ gem install mgem\r\nFetching: mgem-0.1.7.gem (100%)\r\nSuccessfully installed mgem-0.1.7\r\nParsing documentation for mgem-0.1.7\r\nInstalling ri documentation for mgem-0.1.7\r\n1 gem installed<\/pre>\n<p><!--more--><\/p>\n<p><\/p>\n<h2>2. \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305fmgem\u306b\u30d1\u30b9\u304c\u901a\u3063\u3066\u3044\u306a\u3044\u3002<\/h2>\n<pre class=\"lang:sh decode:true \" >$ mgem update\r\nNo command 'mgem' found, did you mean:\r\n Command 'mgen' from package 'mgen' (universe)\r\n Command 'mgm' from package 'mgm' (universe)\r\n Command 'gem' from package 'ruby1.9.1' (main)\r\n Command 'gem' from package 'rubygems' (main)\r\nmgem: command not found<\/pre>\n<p><\/p>\n<h2>3. rehash\u3092\u5b9f\u884c\u3059\u308b\u3002<\/h2>\n<pre class=\"lang:sh decode:true \" >$ rbenv rehash<\/pre>\n<p><\/p>\n<h2>4. mgem\u306b\u30d1\u30b9\u304c\u901a\u3063\u3066\u5b9f\u884c\u53ef\u80fd\u306b\u306a\u308b\u3002<\/h2>\n<pre class=\"lang:sh decode:true \" >$ mgem update\r\nLoading fresh GEM list...\r\nremote: Counting objects: 309, done.\r\nremote: Compressing objects: 100% (221\/221), done.\r\nremote: Total 309 (delta 95), reused 294 (delta 87)\r\nReceiving objects: 100% (309\/309), 40.00 KiB, done.\r\nResolving deltas: 100% (95\/95), done.\r\ndone!\r\nUpdate list of GEMs...\r\nNo new GEM<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>rbenv\u74b0\u5883\u3067install\u3084gem\u3092\u4f7f\u3063\u305f\u5f8c\u306frehash\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002 1. gem\u3092\u4f7f\u3063\u3066mgem\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002 $ gem install mgem Fetching: mgem-0.1.7.ge [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[12],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-memo","tag-ruby"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/300","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=300"}],"version-history":[{"count":9,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/300\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}