<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ruby/Rails and MySQL on Snow Leopard (10A380)</title>
	<atom:link href="http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/</link>
	<description>a plain personal blog</description>
	<lastBuildDate>Sun, 27 Jun 2010 19:33:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nikhil Gupte</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-6002</link>
		<dc:creator>Nikhil Gupte</dc:creator>
		<pubDate>Thu, 28 Jan 2010 16:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-6002</guid>
		<description>On Snow Leopard, rnsure that your version/arch of *ruby* is correct (x86_64) before installing the mysql gem

http://www.ruby-forum.com/topic/192550#884346</description>
		<content:encoded><![CDATA[<p>On Snow Leopard, rnsure that your version/arch of *ruby* is correct (x86_64) before installing the mysql gem</p>
<p><a href="http://www.ruby-forum.com/topic/192550#884346" rel="nofollow">http://www.ruby-forum.com/topic/192550#884346</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Akins</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-5918</link>
		<dc:creator>Greg Akins</dc:creator>
		<pubDate>Fri, 22 Jan 2010 04:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-5918</guid>
		<description>Hallelujah!  After about 5 hours and countless other &quot;instructions&quot;  this one finally did the trick.  Much thanks to Colin Kelley for the helper tips to make sure the right files are being used.</description>
		<content:encoded><![CDATA[<p>Hallelujah!  After about 5 hours and countless other &#8220;instructions&#8221;  this one finally did the trick.  Much thanks to Colin Kelley for the helper tips to make sure the right files are being used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Migrating Rails 2.3 to Snow Leopard &#124; Steve Flinter</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-5144</link>
		<dc:creator>Migrating Rails 2.3 to Snow Leopard &#124; Steve Flinter</dc:creator>
		<pubDate>Fri, 11 Dec 2009 00:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-5144</guid>
		<description>[...] Installing MySQL on Snow Leopard Epic Snow Leopard Upgrayyyyd Guide Ruby/Rails and MySQL on Snow Leopard (10A380) [...]</description>
		<content:encoded><![CDATA[<p>[...] Installing MySQL on Snow Leopard Epic Snow Leopard Upgrayyyyd Guide Ruby/Rails and MySQL on Snow Leopard (10A380) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spencer</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-4787</link>
		<dc:creator>Spencer</dc:creator>
		<pubDate>Wed, 18 Nov 2009 17:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-4787</guid>
		<description>Was having this issue:
$ sudo env ARCHFLAGS=”-arch x86_64″ gem install –verbose mysql — –with-mysql-include=/usr/local/mysql/include –with-mysql-lib=/usr/local/mysql/lib
Password:
env: x86_64″: No such file or directory

Finally I deleted the ”″ around &quot;-arch x86_64&quot; and manually typed them in.  Still got some errors but did finally see
Successfully installed mysql-2.8.1</description>
		<content:encoded><![CDATA[<p>Was having this issue:<br />
$ sudo env ARCHFLAGS=”-arch x86_64″ gem install –verbose mysql — –with-mysql-include=/usr/local/mysql/include –with-mysql-lib=/usr/local/mysql/lib<br />
Password:<br />
env: x86_64″: No such file or directory</p>
<p>Finally I deleted the ”″ around &#8220;-arch x86_64&#8243; and manually typed them in.  Still got some errors but did finally see<br />
Successfully installed mysql-2.8.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-4443</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 15 Oct 2009 21:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-4443</guid>
		<description>Thank you Jussi!! worked like a charm. although in bash I put the ARCHFLAGS in the env using a separate export command.</description>
		<content:encoded><![CDATA[<p>Thank you Jussi!! worked like a charm. although in bash I put the ARCHFLAGS in the env using a separate export command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Eggers</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-4374</link>
		<dc:creator>James Eggers</dc:creator>
		<pubDate>Sun, 11 Oct 2009 21:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-4374</guid>
		<description>Take a look at this post: http://jameseggers.com/post/185690322/fix-mysql-and-rails-on-snow-leopard . It shows how to get MySQL + Ruby on Rails + Snow Leopard all working perfectly.</description>
		<content:encoded><![CDATA[<p>Take a look at this post: <a href="http://jameseggers.com/post/185690322/fix-mysql-and-rails-on-snow-leopard" rel="nofollow">http://jameseggers.com/post/185690322/fix-mysql-and-rails-on-snow-leopard</a> . It shows how to get MySQL + Ruby on Rails + Snow Leopard all working perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-3991</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 16 Sep 2009 17:48:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-3991</guid>
		<description>Ok, if you&#039;re one of those poor souls running with a 32-bit EFI (I have a MacBook2,1) do NOT follow any instructions for 64-bit installs!

Check your EFI using &quot;ioreg -l -p IODeviceTree &#124; grep firmware-abi &quot; in the terminal, if it comes up with &#039;&#124; &#124;   &quot;firmware-abi&quot; = &#039; then do the following.

1) Download and install the x86 version of myql from http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg (NOT the x86_64 version, I cannot stress this enough!)

2) sudo killall mysqld (kill any running mysqld processes)

3) sudo mysqld_safe (start the 32-bit mysql server)

4) sudo gem uninstall mysql (remove improperly installed mysqld gem)

5) sudo env ARCHFLAGS=&quot;-arch x86&quot; gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config  (Again, NOT &quot;-arch x86_64&quot;)

You should now be up and running. If Apple ever comes out with a firmware update for those of us with early Core 2 systems, maybe we&#039;ll actually be able to run in 64-bit mode. But for now, even though you we have 64-bit processors, we&#039;re stuck running in 32-bit mode.</description>
		<content:encoded><![CDATA[<p>Ok, if you&#8217;re one of those poor souls running with a 32-bit EFI (I have a MacBook2,1) do NOT follow any instructions for 64-bit installs!</p>
<p>Check your EFI using &#8220;ioreg -l -p IODeviceTree | grep firmware-abi &#8221; in the terminal, if it comes up with &#8216;| |   &#8220;firmware-abi&#8221; = &#8216; then do the following.</p>
<p>1) Download and install the x86 version of myql from <a href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg" rel="nofollow">http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg</a> (NOT the x86_64 version, I cannot stress this enough!)</p>
<p>2) sudo killall mysqld (kill any running mysqld processes)</p>
<p>3) sudo mysqld_safe (start the 32-bit mysql server)</p>
<p>4) sudo gem uninstall mysql (remove improperly installed mysqld gem)</p>
<p>5) sudo env ARCHFLAGS=&#8221;-arch x86&#8243; gem install mysql &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config  (Again, NOT &#8220;-arch x86_64&#8243;)</p>
<p>You should now be up and running. If Apple ever comes out with a firmware update for those of us with early Core 2 systems, maybe we&#8217;ll actually be able to run in 64-bit mode. But for now, even though you we have 64-bit processors, we&#8217;re stuck running in 32-bit mode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-3986</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 16 Sep 2009 14:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-3986</guid>
		<description>Sorry wrong place, I am having a similar issue but the post is here: http://void-design.net/2009/08/05/ruby-191-mysql-and-a-snow-leopard/</description>
		<content:encoded><![CDATA[<p>Sorry wrong place, I am having a similar issue but the post is here: <a href="http://void-design.net/2009/08/05/ruby-191-mysql-and-a-snow-leopard/" rel="nofollow">http://void-design.net/2009/08/05/ruby-191-mysql-and-a-snow-leopard/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-3985</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 16 Sep 2009 14:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-3985</guid>
		<description>I sent a question last night,does it have to be &quot;approved&quot; before it shows on the list above?</description>
		<content:encoded><![CDATA[<p>I sent a question last night,does it have to be &#8220;approved&#8221; before it shows on the list above?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: foz</title>
		<link>http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/comment-page-1/#comment-3972</link>
		<dc:creator>foz</dc:creator>
		<pubDate>Wed, 16 Sep 2009 00:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=180#comment-3972</guid>
		<description>Another thing that worked for me:

Install macports (if you dont already have it)
  $ sudo port install mysql5_devel
  $ sudo gem install -V mysql -- --with-mysql-config=/opt/local/bin/mysql_config5</description>
		<content:encoded><![CDATA[<p>Another thing that worked for me:</p>
<p>Install macports (if you dont already have it)<br />
  $ sudo port install mysql5_devel<br />
  $ sudo gem install -V mysql &#8212; &#8211;with-mysql-config=/opt/local/bin/mysql_config5</p>
]]></content:encoded>
	</item>
</channel>
</rss>
