{"id":515,"date":"2012-04-22T11:08:12","date_gmt":"2012-04-22T02:08:12","guid":{"rendered":"http:\/\/www.whoocus.com\/blog\/wordpress\/?p=515"},"modified":"2012-04-22T11:08:12","modified_gmt":"2012-04-22T02:08:12","slug":"%e4%b9%85%e3%81%97%e3%81%b6%e3%82%8a%e3%81%ab","status":"publish","type":"post","link":"https:\/\/www.blowfish.co.jp\/?p=515","title":{"rendered":"\u4e45\u3057\u3076\u308a\u306b"},"content":{"rendered":"<p>\u65c5\u884c\u3084\u3089\u5f15\u8d8a\u3057\u3084\u3089\u3067\u30012012\u5e742\u6708\uff5e4\u6708\u8fc4\u306e\u9593\u3001\u65b0\u751f\u6d3b(?)\u304c\u59cb\u307e\u308a\u307e\u3057\u305f\u3002<br \/>\n\u7d043\u30f6\u6708\u9593\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u96e2\u308c\u3066\u3044\u3066\u3001\u4f55\u304c\u4f55\u3084\u3089\u5206\u304b\u3089\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n<p>\u4f5c\u6210\u3057\u3066\u3044\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3082\u74b0\u5883\u8a2d\u5b9a\u304b\u4f55\u304b\u306e\u95a2\u4fc2\u3067\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3057\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001ruby\u306e\u30de\u30a4\u30ca\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3082\u3042\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u3001\u5fc3\u6a5f\u4e00\u8ee2\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u76f4\u3057\u3066\u307f\u308b\u4e8b\u3068\u3059\u308b\u3002<\/p>\n<p>\u74b0\u5883\u306fWindowsXP\u306a\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc<a href=\"http:\/\/rubyinstaller.org\/downloads\/\">Ruby 1.9.3-p194<\/a>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff06\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>\u307e\u305a\u306f\u304a\u6c7a\u307e\u308a\u3067\u3001ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30c1\u30a7\u30c3\u30af\u3002<br \/>\n[bash]<br \/>\nC:&gt;ruby -v<br \/>\nruby 1.9.3p194 (2012-04-20) [i386-mingw32]<br \/>\n[\/bash]<\/p>\n<p>Devkit\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3078\u79fb\u52d5\u3057\u3066\u3001\u521d\u671f\u5316\u3057\u30d1\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3002<br \/>\n\u554f\u984c\u306a\u3051\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u6b63\u76f4\u3053\u306e\u624b\u7d9a\u304d\u3067\u4f55\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u304b\u306f\u4e0d\u660e\u3002<br \/>\n\u52c9\u5f37\u4e0d\u8db3\u3067\u3059\u3002<\/p>\n<p>[bash]<br \/>\nC:&gt;cd c:usrlocalDevKit<\/p>\n<p>C:usrlocalDevKit&gt;ruby dk.rb init<br \/>\n[INFO] found RubyInstaller v1.9.3 at C:\/usr\/local\/ruby193<\/p>\n<p>Initialization complete! Please review and modify the auto-generated<br \/>\n&#8216;config.yml&#8217; file to ensure it contains the root directories to all<br \/>\nof the installed Rubies you want enhanced by the DevKit.<\/p>\n<p>C:usrlocalDevKit&gt;ruby dk.rb review<br \/>\nBased upon the settings in the &#8216;config.yml&#8217; file generated<br \/>\nfrom running &#8216;ruby dk.rb init&#8217; and any of your customizations,<br \/>\nDevKit functionality will be injected into the following Rubies<br \/>\nwhen you run &#8216;ruby dk.rb install&#8217;.<\/p>\n<p>C:\/usr\/local\/ruby193<\/p>\n<p>C:usrlocalDevKit&gt;ruby dk.rb install<\/p>\n<p>[\/bash]<\/p>\n<p>\u5143\u3005\u3042\u3063\u305fruby\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5\u3057\u3001bundle install \u3092\u884c\u3063\u305f\u304c\u3001\u3084\u306f\u308a\u30a8\u30e9\u30fc\u3002\u6614\u30cf\u30de\u3063\u305fmysql2 \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u554f\u984c\u3002<br \/>\nruby\u3092\u5165\u308c\u306a\u304a\u3057\u305f\u3053\u3068\u3067\u3001\u3082\u3046\u4e00\u5ea6mysql\u306e\u30d1\u30b9\u3092\u8a8d\u8b58\u3055\u305b\u308b\u3002<\/p>\n<p>[bash]<br \/>\ngem install mysql2 -v &#8216;0.3.10&#8217; &#8212; &#8211;with-mysql-dir=&quot;C:\/usr\/local\/mysql5.5\/MySQL Server 5.5&quot; &#8211;with-mysql-include=&quot;C:\/usr\/local\/mysql5.5\/MySQL Server 5.5\/include&quot; &#8211;with-mysql-lib=&quot;C:\/usr\/local\/mysql5.5\/MySQL Server 5.5\/lib&quot;[\/bash]<\/p>\n<p>\u305d\u306e\u5f8c\u3001libmysql.dll \u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3002<br \/>\n\u3053\u306e\u5834\u5408\u306f\u3001\u5358\u7d14\u306b ruby\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3001bin\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b libmysql.dll \u3092\u914d\u7f6e\u3057\u3066\u3042\u3052\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65c5\u884c\u3084\u3089\u5f15\u8d8a\u3057\u3084\u3089\u3067\u30012012\u5e742\u6708\uff5e4\u6708\u8fc4\u306e\u9593\u3001\u65b0\u751f\u6d3b(?)\u304c\u59cb\u307e\u308a\u307e\u3057\u305f\u3002 \u7d043\u30f6\u6708\u9593\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u96e2\u308c\u3066\u3044\u3066\u3001\u4f55\u304c\u4f55\u3084\u3089\u5206\u304b\u3089\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002 \u4f5c\u6210\u3057\u3066\u3044\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3082\u74b0\u5883\u8a2d\u5b9a\u304b\u4f55\u304b\u306e\u95a2\u4fc2\u3067\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u308b [&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":[14,4],"tags":[],"class_list":["post-515","post","type-post","status-publish","format-standard","hentry","category-ruby","category-tech"],"_links":{"self":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/515","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=515"}],"version-history":[{"count":0,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/515\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}