{"id":672,"date":"2009-01-08T11:07:47","date_gmt":"2009-01-08T02:07:47","guid":{"rendered":"http:\/\/ecpplus.net\/weblog\/?p=672"},"modified":"2020-06-15T22:10:28","modified_gmt":"2020-06-15T13:10:28","slug":"leopard-rails-development","status":"publish","type":"post","link":"https:\/\/ecpplus.net\/weblog\/leopard-rails-development\/","title":{"rendered":"Leopard \u3067 Rails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>MacBook\u3082SSD\u306b\u5165\u308c\u66ff\u3048\u3066\u5b8c\u5168\u306bSSD\u53a8\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u305f\u3089 MySQL + Ruby \u3067\u3064\u307e\u3065\u3044\u305f\u306e\u3067\u30e1\u30e2\u3057\u3068\u304f\u3002<\/p>\n<p>Ruby \u306f\u3001MacPorts \u3067 1.8.7 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002MySQL \u306f\u3001<a href=\"http:\/\/dev.mysql.com\/downloads\/mysql\/5.0.html#macosx-dmg\">MySQL\u516c\u5f0f\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/a> \u304b\u3089\u3001Mac OS X 10.5 (x86_64) \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f(\u3053\u308c\u304c\u826f\u304f\u306a\u304b\u3063\u305f\u307f\u305f\u3044)\u3002<\/p>\n<p>\u3053\u306e\u3042\u3068\u3001\u3044\u3064\u3082\u306e\u3088\u3046\u306b<\/p>\n<pre lang=\"\">% sudo gem install mysql -- --with-mysql-config \/usr\/local\/mysql\/bin\/\nmysql_config\nBuilding native extensions.  This could take a while...\nSuccessfully installed mysql-2.7\n1 gem installed<\/pre>\n<p>\u3063\u3066\u3084\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3093\u3060\u3051\u3069\u3001<\/p>\n<pre lang=\"\">% script\/console\n=> Booting WEBrick...\ndyld: lazy symbol binding failed: Symbol not found: _mysql_init\n  Referenced from: \/Library\/Ruby\/Gems\/1.8\/gems\/mysql-2.7\/lib\/mysql.bundle\n  Expected in: dynamic lookup\n\ndyld: Symbol not found: _mysql_init\n  Referenced from: \/Library\/Ruby\/Gems\/1.8\/gems\/mysql-2.7\/lib\/mysql.bundle\n  Expected in: dynamic lookup<\/pre>\n<p>\u3063\u3066\u51fa\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>\u3050\u3050\u3063\u3066\u307f\u308b\u3068\u3001\u540c\u3058\u75c7\u72b6\u304c\u51fa\u3066\u308b\u4eba\u304c\u3044\u305f\u3002<a href=\"http:\/\/blog.digital-squad.net\/article\/92963519.html\">Leopard Macbook\u306bMySQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u301cRails\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u307e\u3067<\/a><br \/>\n(http:\/\/blog.digital-squad.net\/article\/92963519.html) \u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u3044\u3066\u3001\u8a66\u3057\u3066\u307f\u308b<\/p>\n<pre lang=\"\">% sudo env ARCHFLAGS=\"-arch x86_64\" gem install mysql -- --with-mysql-config=\/usr\/local\/mysql\/bin\/mysql_config\nBuilding native extensions.  This could take a while...\nSuccessfully installed mysql-2.7\n1 gem installed<\/pre>\n<p>\u3057\u304b\u3057\uff65\uff65\uff65<\/p>\n<pre lang=\"\">% script\/console\nLoading development environment (Rails 2.0.2)\n\/Library\/Ruby\/Gems\/1.8\/gems\/mysql-2.7\/lib\/mysql.bundle: dlopen(\/Library\/Ruby\/Gems\/1.8\/gems\/mysql-2.7\/lib\/mysql.bundle, 9): no suitable image found.  Did find: (LoadError)\n        \/Library\/Ruby\/Gems\/1.8\/gems\/mysql-2.7\/lib\/mysql.bundle: mach-o, but wrong architecture - \/Library\/Ruby\/Gems\/1.8\/gems\/mysql-2.7\/lib\/mysql.bundle       from \/Library\/Ruby\/Site\/1.8\/rubygems\/custom_require.rb:31:in `require'\n        from \/Library\/Ruby\/Gems\/1.8\/gems\/activesupport-2.0.2\/lib\/active_support\/dependencies.rb:496:in `require'\n        from \/Library\/Ruby\/Gems\/1.8\/gems\/activesupport-2.0.2\/lib\/active_support\/dependencies.rb:342:in `new_constants_in'\n        from \/Library\/Ruby\/Gems\/1.8\/gems\/activesupport-2.0.2\/lib\/active_support\/dependencies.rb:496:in `require'\n        from \/Users\/chu\/rails\/viena\/config\/environment.rb:97\n        from \/Library\/Ruby\/Site\/1.8\/rubygems\/custom_require.rb:31:in `gem_original_require'\n        from \/Library\/Ruby\/Site\/1.8\/rubygems\/custom_require.rb:31:in `require'\n        from \/System\/Library\/Frameworks\/Ruby.framework\/Versions\/1.8\/usr\/lib\/ruby\/1.8\/irb\/init.rb:253:in `load_modules'\n        from \/System\/Library\/Frameworks\/Ruby.framework\/Versions\/1.8\/usr\/lib\/ruby\/1.8\/irb\/init.rb:251:in `each'\n        from \/System\/Library\/Frameworks\/Ruby.framework\/Versions\/1.8\/usr\/lib\/ruby\/1.8\/irb\/init.rb:251:in `load_modules'\n        from \/System\/Library\/Frameworks\/Ruby.framework\/Versions\/1.8\/usr\/lib\/ruby\/1.8\/irb\/init.rb:21:in `setup'\n        from \/System\/Library\/Frameworks\/Ruby.framework\/Versions\/1.8\/usr\/lib\/ruby\/1.8\/irb.rb:54:in `start'\n        from \/usr\/bin\/irb:13<\/pre>\n<p>\u9055\u3046\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>\u4e0b\u8a18\u3092\u8a66\u305b\u3070\u3044\u3044\u3063\u3066\u3044\u3046\u66f8\u304d\u8fbc\u307f\u3082\u3042\u3063\u305f\u3051\u3069\u3001\u3069\u3046\u3084\u3089\u3001x86_x64 \u306eMySQL \u3092\u4f7f\u3046\u3068\u3053\u308c\u304c\u51fa\u308b\u3063\u307d\u3044\u3002<\/p>\n<pre lang=\"\">% sudo env ARCHFLAGS=\"-arch i386\" gem install mysql -- --with-mysql-config=\/usr\/local\/mysql\/bin\/mysql_config\nBuilding native extensions.  This could take a while...\nSuccessfully installed mysql-2.7\n1 gem installed<\/pre>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001Mac OS X 10.5 (x86) \u3092\u6539\u3081\u3066\u5165\u308c\u76f4\u3057\u3066\u3001<\/p>\n<pre lang=\"\">% sudo gem install mysql -- --with-mysql-config=\/usr\/local\/mysql\/bin\/mysql_config\nBuilding native extensions.  This could take a while...\nSuccessfully installed mysql-2.7\n1 gem installed<\/pre>\n<p>\u3063\u3066\u3084\u3063\u305f\u3089\u666e\u901a\u306b\u52d5\u3044\u305f\u3002\u3046\u30fc\u3093\u3002<\/p>\n<p>\u53cb\u9054\u66f0\u304f\u3001port \u3067\u5165\u308c\u308c\u3070\u666e\u901a\u306b\u52d5\u304f\u306e\u306b\u3002\u3089\u3057\u3044(&#8216;A`)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MacBook\u3082SSD\u306b\u5165\u308c\u66ff\u3048\u3066\u5b8c\u5168\u306bSSD\u53a8\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u305f\u3089 MySQL + Ruby \u3067\u3064\u307e\u3065\u3044\u305f\u306e\u3067\u30e1\u30e2\u3057\u3068\u304f\u3002 Ruby \u306f\u3001MacPorts \u3067 1.8.7 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002MySQL \u306f\u3001My [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2521,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[12,10],"class_list":["post-672","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-mac","tag-rails"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"MacBook\u3082SSD\u306b\u5165\u308c\u66ff\u3048\u3066\u5b8c\u5168\u306bSSD\u53a8\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u305f\u3089 MySQL + Ruby \u3067\u3064\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"\u3061\u3085\u3046\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/ecpplus.net\/weblog\/leopard-rails-development\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Leopard \u3067 Rails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5 | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta property=\"og:description\" content=\"MacBook\u3082SSD\u306b\u5165\u308c\u66ff\u3048\u3066\u5b8c\u5168\u306bSSD\u53a8\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u305f\u3089 MySQL + Ruby \u3067\u3064\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/ecpplus.net\/weblog\/leopard-rails-development\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2011\/08\/ruby_on_rails.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2011\/08\/ruby_on_rails.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t\t<meta property=\"article:tag\" content=\"development\" \/>\n\t\t<meta property=\"article:tag\" content=\"mac\" \/>\n\t\t<meta property=\"article:tag\" content=\"rails\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-01-08T02:07:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-06-15T13:10:28+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@ecpplus\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Leopard \u3067 Rails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5 | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta name=\"twitter:description\" content=\"MacBook\u3082SSD\u306b\u5165\u308c\u66ff\u3048\u3066\u5b8c\u5168\u306bSSD\u53a8\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u305f\u3089 MySQL + Ruby \u3067\u3064\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@ecpplus\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2011\/08\/ruby_on_rails.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Leopard \u3067 Rails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5 | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","description":"MacBook\u3082SSD\u306b\u5165\u308c\u66ff\u3048\u3066\u5b8c\u5168\u306bSSD\u53a8\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u305f\u3089 MySQL + Ruby \u3067\u3064","canonical_url":"https:\/\/ecpplus.net\/weblog\/leopard-rails-development\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ja_JP","og:site_name":"\u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","og:type":"article","og:title":"Leopard \u3067 Rails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5 | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","og:description":"MacBook\u3082SSD\u306b\u5165\u308c\u66ff\u3048\u3066\u5b8c\u5168\u306bSSD\u53a8\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u305f\u3089 MySQL + Ruby \u3067\u3064","og:url":"https:\/\/ecpplus.net\/weblog\/leopard-rails-development\/","og:image":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2011\/08\/ruby_on_rails.png","og:image:secure_url":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2011\/08\/ruby_on_rails.png","og:image:width":1920,"og:image:height":768,"article:tag":["development","mac","rails"],"article:published_time":"2009-01-08T02:07:47+00:00","article:modified_time":"2020-06-15T13:10:28+00:00","twitter:card":"summary_large_image","twitter:site":"@ecpplus","twitter:title":"Leopard \u3067 Rails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5 | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","twitter:description":"MacBook\u3082SSD\u306b\u5165\u308c\u66ff\u3048\u3066\u5b8c\u5168\u306bSSD\u53a8\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u305f\u3089 MySQL + Ruby \u3067\u3064","twitter:creator":"@ecpplus","twitter:image":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2011\/08\/ruby_on_rails.png"},"aioseo_meta_data":{"post_id":"672","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary_large_image","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-01-02 15:53:44","updated":"2022-09-29 14:54:51","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ecpplus.net\/weblog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ecpplus.net\/weblog\/category\/development\/\" title=\"Development\">Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tLeopard \u3067 Rails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/ecpplus.net\/weblog"},{"label":"Development","link":"https:\/\/ecpplus.net\/weblog\/category\/development\/"},{"label":"Leopard \u3067 Rails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5","link":"https:\/\/ecpplus.net\/weblog\/leopard-rails-development\/"}],"_links":{"self":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/comments?post=672"}],"version-history":[{"count":3,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/672\/revisions"}],"predecessor-version":[{"id":2542,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/672\/revisions\/2542"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media\/2521"}],"wp:attachment":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media?parent=672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/categories?post=672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/tags?post=672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}