{"id":611,"date":"2015-02-18T14:18:00","date_gmt":"2015-02-18T05:18:00","guid":{"rendered":"https:\/\/wp.zassoul.com\/?p=611"},"modified":"2015-02-18T14:18:00","modified_gmt":"2015-02-18T05:18:00","slug":"ruby%e3%81%ae%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e7%ae%a1%e7%90%86","status":"publish","type":"post","link":"https:\/\/wp.zassoul.com\/?p=611","title":{"rendered":"ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406"},"content":{"rendered":"<p>\u3069\u3046\u3082Ruby\u306b\u304a\u3044\u3066\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u304c\u3064\u3044\u3066\u307e\u308f\u308b\u305d\u3046\u306a\u3002<br \/>\u305f\u3076\u3093, \u958b\u767a\u74b0\u5883\u306b\u304a\u3044\u3066\u306f\u8907\u6570\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u30c6\u30b9\u30c8\u3092\u884c\u3063\u305f\u308a\u3059\u308b\u3093\u3060\u308d\u3046\u3002<\/p>\n<p>\u305d\u3046\u3044\u3063\u305f\u610f\u5473\u3067\u306f(\u4eca\u306e)\u81ea\u5206\u306b\u306f\u4e0d\u8981\u306a\u3082\u306e\u3002<br \/>\u3060\u3051\u3069\u3082, \u3068\u308a\u3042\u3048\u305a\u3053\u306e\u624b\u306e\u3082\u306e\u306f\u4e00\u822c\u7684\u306a\u74b0\u5883\u306b\u6163\u308c\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3068\u601d\u3046\u306e\u3067, rvm\u3092\u5165\u308c\u3066\u304a\u304f\u3002<br \/>rbenv\u3068\u3044\u3046\u3082\u306e\u3082\u3042\u308b\u304c, \u6700\u521d\u306b\u76ee\u306b\u5165\u3063\u305f\u306e\u304crvm\u3060\u304b\u3089\u3053\u3063\u3061\u306b\u3057\u305f\u3002<\/p>\n<p>Install\u306f<a href=\"https:\/\/rvm.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u672c\u5bb6\u30b5\u30a4\u30c8<\/a>\u306b\u3042\u308b\u307e\u3093\u307e\u3002<\/p>\n<p><span style=\"color: grey;\"><\/p>\n<table bgcolor=\"#1d38c0\" border=\"0\" style=\"width: 90%;\">\n<tbody>\n<tr>\n<td><span style=\"color: #eeeeee;\"># gpg &#8211;keyserver hkp:\/\/keys.gnupg.net &#8211;recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #eeeeee;\"># curl -sSL https:\/\/get.rvm.io | bash -s stable <\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/span><\/p>\n<p>ruby\u306f2.2.0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\u3053\u3093\u306a\u611f\u3058\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/p>\n<p><span style=\"color: grey;\"><\/p>\n<table bgcolor=\"#1d38c0\" border=\"0\" style=\"width: 90%;\">\n<tbody>\n<tr>\n<td><span style=\"color: #eeeeee;\"># rvm install ruby-2.2.0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #eeeeee;\"># rvm list<\/span><br \/><span style=\"color: #eeeeee;\"><br \/><\/span><span style=\"color: #eeeeee;\">&nbsp;rvm<\/span><span style=\"background-color: transparent; color: #eeeeee;\">&nbsp;rubies<\/span><br \/><span style=\"background-color: transparent; color: #eeeeee;\"><br \/><\/span><span style=\"background-color: transparent; color: #eeeeee;\">&nbsp;=*&nbsp;<\/span><span style=\"background-color: transparent; color: #eeeeee;\">ruby-2.2.0 [ x86_64 ]<\/span><br \/><span style=\"background-color: transparent; color: #eeeeee;\"><br \/><\/span><span style=\"background-color: transparent; color: #eeeeee;\">&nbsp;# =&gt; &#8211; current&nbsp;<\/span><br \/><span style=\"background-color: transparent; color: #eeeeee;\">&nbsp;# =* &#8211; current &amp;&amp; default&nbsp;<\/span><br \/><span style=\"background-color: transparent; color: #eeeeee;\">&nbsp;#  * &#8211; default&nbsp;<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/span><\/p>\n<p>\u3061\u306a\u307f\u306bPath\u306f  <span style=\"color: grey;\"><\/p>\n<table bgcolor=\"#1d38c0\" border=\"0\" style=\"width: 90%;\">\n<tbody>\n<tr>\n<td><span style=\"color: #eeeeee;\">\/usr\/local\/rvm\/rubies\/ruby-2.2.0\/bin\/ruby<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/span><br \/><span style=\"color: grey;\">\u3068rvm\u914d\u4e0b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u306e\u306d\u3002<\/span><br \/><span style=\"color: grey;\">\u3044\u304f\u3064\u304b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5165\u308c\u3066\u4f7f\u3044\u5206\u3051\u308b\u5834\u5408\u306f<\/span><br \/><span style=\"color: grey;\"><\/p>\n<table bgcolor=\"#1d38c0\" border=\"0\" style=\"width: 90%;\">\n<tbody>\n<tr>\n<td><span style=\"color: #eeeeee;\"># rvm use ruby-2.2.0<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/span><br \/><span style=\"color: grey;\"><br \/><\/span>\u306a\u3069\u3057\u3066\u4f7f\u3046\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3002<br \/>\u307e, \u4eca\u3093\u3068\u3053\u30b3\u30ec\u3057\u304b\u4f7f\u308f\u306a\u3044\u304b\u3089\u3042\u3093\u307e\u95a2\u4fc2\u306a\u3044\u304b\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b, \u81ea\u5206\u306f\u5341\u6570\u5e74\u524d\u306eSolaris7\u6642\u53f0\u304b\u3089UNIX\u7cfb\u306e\u6642\u304c\u6b62\u307e\u3063\u3066\u304a\u308a, \u305d\u306e\u3053\u308d\u304b\u3089tcsh\u30e6\u30fc\u30b6\u3060\u3063\u305f\u304c, rvm\u306ftcsh\u306b\u306f\u9069\u7528\u3057\u3066\u3044\u306a\u3044\u3002(\u305f\u3060\u3057, \u8272\u3005\u8a2d\u5b9a\u3059\u308c\u3070\u3067\u304d\u308b\u305d\u3046\u306a)<\/p>\n<p>\u500b\u4eba\u7684\u306bbash\u304c\u3069\u30fc\u3082\u82e6\u624b\u306a\u306e\u3067\u3053\u306e\u969b\u9ad8\u6a5f\u80fd\u3067\u5d07\u3081\u3089\u308c\u3066\u3044\u308bzsh\u3078\u5207\u308a\u66ff\u3048\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082Ruby\u306b\u304a\u3044\u3066\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u304c\u3064\u3044\u3066\u307e\u308f\u308b\u305d\u3046\u306a\u3002\u305f\u3076\u3093, \u958b\u767a\u74b0\u5883\u306b\u304a\u3044\u3066\u306f\u8907\u6570\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u30c6\u30b9\u30c8\u3092\u884c\u3063\u305f\u308a\u3059\u308b\u3093\u3060\u308d\u3046\u3002 \u305d\u3046\u3044\u3063\u305f\u610f\u5473\u3067\u306f(\u4eca\u306e)\u81ea\u5206\u306b\u306f\u4e0d\u8981\u306a\u3082\u306e\u3002\u3060\u3051\u3069\u3082, \u3068\u308a\u3042\u3048\u305a\u3053\u306e\u624b\u306e\u3082\u306e\u306f\u2026 <span class=\"read-more\"><a href=\"https:\/\/wp.zassoul.com\/?p=611\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69,8],"tags":[],"class_list":["post-611","post","type-post","status-publish","format-standard","hentry","category-ruby","category-8"],"_links":{"self":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=611"}],"version-history":[{"count":0,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/611\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}