{"author_url":"https://blog.hatena.ne.jp/rubynews/","version":"1.0","height":"190","type":"rich","image_url":"http://screenshot.hatena.ne.jp/images/120x90/4/c/6/9/c/394482a5606528bd7bbd4d50b77b3923006.jpg","provider_url":"https://hatena.blog","blog_url":"https://rubynews.hatenadiary.org/","categories":["NEWS"],"blog_title":"RubyNews","provider_name":"Hatena Blog","published":"2008-09-13 01:55:38","url":"https://rubynews.hatenadiary.org/entry/20080913/1221324938","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubynews.hatenadiary.org%2Fentry%2F20080913%2F1221324938\" title=\"Mac\u3067Ruby/MySQL\u306eGem\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u306e\u30e1\u30e2 - Hello, world! - s21g   - RubyNews\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Mac\u3067Ruby/MySQL\u306eGem\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u306e\u30e1\u30e2 - Hello, world! - s21g  ","description":"Macports\u3067MySQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u524d\u63d0\u3067\u3002 \u666e\u901a\u306b 1 sudo gem install msyql \u3092\u3059\u308b\u3068\u3001libmysqlclient\u304c\u898b\u3064\u304b\u3089\u305a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5931\u6557\u3057\u307e\u3059\u3002 \u305d\u3053\u3067\u3001/opt/local/lib/ruby/gems/1.8/gems/mysql-2.7\u306b\u79fb\u52d5\u3057\u3001 1 # ruby extconf.rb --with-mysql-config=/usr/local/mysql/bin/mysql_config 2 # make 3 # make install \u3067OK\u3002 http://blog.s21g.com/articles/886 http:/\u2026","width":"100%","author_name":"rubynews"}