{"id":1177,"date":"2013-03-17T09:24:37","date_gmt":"2013-03-17T00:24:37","guid":{"rendered":"http:\/\/www.whoocus.com\/blog\/?p=1177"},"modified":"2013-03-21T10:45:28","modified_gmt":"2013-03-21T01:45:28","slug":"mac%e3%81%abruby%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.blowfish.co.jp\/?p=1177","title":{"rendered":"Mac\u306bRuby\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<p>\u65b0\u3057\u304fMacBookAir\u3092\u8cfc\u5165\u3057\u305f\u70ba\u3001\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3068\u306a\u3063\u305f\u3002\u305d\u306e\u899a\u3048\u66f8\u304d\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001rvm \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u3067\u3042\u308b\u304c\u3001\u4ee5\u524d\u306ervm\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068URL\u304c\u5909\u308f\u3063\u305f\u3088\u3046\u3067\u3042\u308b\u3002<\/p>\n<p>\u4ee5\u524d\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u3067\u3042\u3063\u305f\u304c\u3001<br \/>\n[bash]<br \/>\nbash &lt;&lt; (curl -s https:\/\/rvm.beginrescueend.com\/install\/rvm)<br \/>\n[\/bash]<\/p>\n<p>\u73fe\u5728\u306f\u3001\u4e0b\u8a18\u306e\u611f\u3058\u3002<br \/>\n[bash]<br \/>\ncurl -L https:\/\/get.rvm.io | bash -s stable<br \/>\n[\/bash]<\/p>\n<p>rvm\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001$HOME\/.rvm \u4ee5\u4e0b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u306e\u3067\u3001\u305d\u3053\u306bPATH\u3092\u901a\u3059\u70ba\u306b\u3001.bash_profile \u306b\u8a18\u8ff0\u3059\u308b\u3002<br \/>\n[bash]<br \/>\necho &#8216;[[ -s &quot;$HOME\/.rvm\/scripts\/rvm&quot;]] &amp;&amp; . &quot;$HOME\/.rvm\/scripts\/rvm&quot; #Load RVM function&#8217; &gt;&gt; ~\/.bash_profile<br \/>\n[\/bash]<\/p>\n<p>\u305d\u3057\u3066\u3001rvm\u3067ruby1.9.3 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\n[bash]<br \/>\nrvm install 1.9.3<\/p>\n<p>Fetching yaml-0.1.4.tar.gz to \/Users\/tajihiro\/.rvm\/archives<br \/>\nExtracting yaml to \/Users\/xxx\/.rvm\/src\/yaml-0.1.4<br \/>\nError running &#8216;__rvm_package_extract \/Users\/xxx\/.rvm\/archives\/yaml-0.1.4.tar.gz \/Users\/xxx\/.rvm\/src&#8217;, please read \/Users\/xxx\/.rvm\/log\/ruby-1.9.3-p392\/yaml\/extract.log<br \/>\nThere has been an error while trying to extract the source. Halting the installation.<br \/>\nInstalling Ruby from source to: \/Users\/xxx\/.rvm\/rubies\/ruby-1.9.3-p392, this may take a while depending on your cpu(s)&#8230;<br \/>\nruby-1.9.3-p392 &#8211; #downloading ruby-1.9.3-p392, this may take a while depending on your connection&#8230;<br \/>\n######################################################################## 100.0%<br \/>\nruby-1.9.3-p392 &#8211; #extracting ruby-1.9.3-p392 to \/Users\/tajihiro\/.rvm\/src\/ruby-1.9.3-p392<br \/>\nruby-1.9.3-p392 &#8211; #extracted to \/Users\/xxx\/.rvm\/src\/ruby-1.9.3-p392<br \/>\nruby-1.9.3-p392 &#8211; #configuring<br \/>\nruby-1.9.3-p392 &#8211; #compiling<br \/>\nError running &#8216;make&#8217;, please read \/Users\/xxx\/.rvm\/log\/ruby-1.9.3-p392\/make.log<br \/>\nThere has been an error while running make. Halting the installation.<br \/>\n[\/bash]<br \/>\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u8ae6\u3081\u3066 brew \u306b\u3066\u3001ruby \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u3002rvm\u306f\u4f7f\u7528\u3057\u306a\u3044\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u3057\u304fMacBookAir\u3092\u8cfc\u5165\u3057\u305f\u70ba\u3001\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3068\u306a\u3063\u305f\u3002\u305d\u306e\u899a\u3048\u66f8\u304d\u3002 \u307e\u305a\u306f\u3001rvm \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u3067\u3042\u308b\u304c\u3001\u4ee5\u524d\u306ervm\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068URL\u304c\u5909\u308f\u3063\u305f\u3088\u3046\u3067\u3042\u308b\u3002 \u4ee5\u524d\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u3067\u3042\u3063\u305f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[17,14,4],"tags":[],"class_list":["post-1177","post","type-post","status-publish","format-standard","hentry","category-windowsmac","category-ruby","category-tech"],"_links":{"self":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1177"}],"version-history":[{"count":10,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1177\/revisions"}],"predecessor-version":[{"id":1194,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1177\/revisions\/1194"}],"wp:attachment":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}