<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lone Gunman &#187; Mac</title>
	<atom:link href="http://www.lone-gunman.be/category/ict/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lone-gunman.be</link>
	<description>The Truth Is Out There</description>
	<lastBuildDate>Tue, 19 Jan 2010 16:23:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Time Machine &amp; Network Drive &#8211; SNOW LEOPARD UPDATE</title>
		<link>http://www.lone-gunman.be/2009/12/19/time-machine-network-drive-snow-leopard-update/</link>
		<comments>http://www.lone-gunman.be/2009/12/19/time-machine-network-drive-snow-leopard-update/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 15:02:13 +0000</pubDate>
		<dc:creator>D@ Mick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[ICT]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.lone-gunman.be/?p=117</guid>
		<description><![CDATA[Small update on the TimeMachine &#38; Network Drive setup. Since I have a new MacPro, I wanted to enable TimeMachine on it. Note that this install is a fresh Snow Leopard installation, and that my MacBook is a Leopard.
I took the steps as I discribed them myself, but it seemed that TM was still trying [...]]]></description>
			<content:encoded><![CDATA[<p>Small update on the TimeMachine &amp; Network Drive setup. Since I have a new MacPro, I wanted to enable TimeMachine on it. Note that this install is a fresh Snow Leopard installation, and that my MacBook is a Leopard.</p>
<p>I took the steps as I discribed them myself, but it seemed that TM was still trying to create a new sparsebundle instead of using the newly created on.</p>
<p>If you are using Snow Leopard, keep these things in mind:</p>
<ul>
<li>The naming of the sparsebundle file needs to be a tad diffrent. No more use of the MAC address in the filename. You can just use &lt;computername&gt;.sparsebundle</li>
<li>One important step to follow is the fact that TimeMachine is now looking for a file called <tt>com.apple.TimeMachine.MachineID.plist<br />
</tt> . This file needs to reside inside the sparsebundle directory.</li>
<li>So fire up terminal and go to /Volumes/&lt;volumename&gt;/&lt;computername&gt;.sparsebundle</li>
<li>open up vi (name the file <tt>com.apple.TimeMachine.MachineID.plist</tt> and add the following content:</li>
</ul>
<pre class="command">
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;com.apple.backupd.HostUUID&lt;/key&gt;
    &lt;string&gt;YOURUUIDHERE&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;</code></pre>
</pre>
<p>NOTE: Replace COMPUTER UID with the UUID of your MAC. You can find it under the System Profiles on the Hardware tab. Now fire up TimeMachine and everything should be running smooth again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lone-gunman.be/2009/12/19/time-machine-network-drive-snow-leopard-update/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Enable syntax highlighting in Mac OSX Snow Leopard</title>
		<link>http://www.lone-gunman.be/2009/12/13/enable-syntax-highlighting-in-mac-osx-snow-leopard/</link>
		<comments>http://www.lone-gunman.be/2009/12/13/enable-syntax-highlighting-in-mac-osx-snow-leopard/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 14:23:57 +0000</pubDate>
		<dc:creator>D@ Mick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[ICT]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.lone-gunman.be/?p=105</guid>
		<description><![CDATA[One of the main reasons I switched to Mac was the fact that the user interface is polished and I still maintain the power and freedom I find Linux. But one downside in Mac Terminal is that there is no standard syntax highlighting.
So here is some info how I got to enable some basic syntax [...]]]></description>
			<content:encoded><![CDATA[<p>One of the main reasons I switched to Mac was the fact that the user interface is polished and I still maintain the power and freedom I find Linux. But one downside in Mac Terminal is that there is no standard syntax highlighting.</p>
<p>So here is some info how I got to enable some basic syntax highlighting in Terminal and VIM. Note that these settings are user specific and not system wide.</p>
<p>Fire up Terminal and create a .vimrc file in your home directory.</p>
<pre class="command">cd
vim .vimrc</pre>
<p>Edit/create /usr/share/vim/vimrc for system wide settings.</p>
<pre>Press the ‘<strong>i</strong>‘ key to switch vim to <strong>Insertion Mode</strong>, then enter these lines</pre>
<pre class="command">set ai                  " auto indenting
set history=100         " keep 100 lines of history
set ruler               " show the cursor position
syntax on               " syntax highlighting
set hlsearch            " highlight the last searched term
filetype plugin on      " use the file type plugins

" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") &gt; 0 &amp;&amp; line ("'\"") &lt;= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif</pre>
<p>Press the <strong>Escape</strong> key to take vim out of <strong>Insertion Mode</strong>, then press ‘<strong>:</strong>‘ (<em>colon</em>) followed by ‘<strong>x</strong>‘ to save the file and exit. Now when you list a directory or edit a file through vi(m) you&#8217;ll see that all syntaxes are highlighted.</p>
<p>Long live VI(M)!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lone-gunman.be/2009/12/13/enable-syntax-highlighting-in-mac-osx-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing MySQL on Snow Leopard</title>
		<link>http://www.lone-gunman.be/2009/12/06/installing-mysql-on-snow-leopard/</link>
		<comments>http://www.lone-gunman.be/2009/12/06/installing-mysql-on-snow-leopard/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 19:54:23 +0000</pubDate>
		<dc:creator>D@ Mick</dc:creator>
				<category><![CDATA[ICT]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.lone-gunman.be/?p=98</guid>
		<description><![CDATA[Just got my new MacPro this weekend. After installing my common applications, I had to install my develoment tools as well. These are the instructions to install MySQL 64-bit version on OS X Snow Leopard.
First of all, note that we are going to install MySQL compiling from source. So make sure you have installed Xcode [...]]]></description>
			<content:encoded><![CDATA[<p>Just got my new MacPro this weekend. After installing my common applications, I had to install my develoment tools as well. These are the instructions to install MySQL 64-bit version on OS X Snow Leopard.</p>
<p>First of all, note that we are going to install MySQL compiling from source. So make sure you have installed Xcode tools and you know your way around Terminal <img src='http://www.lone-gunman.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Now lets set up our personal profile where we declare our path variable. Fire up Terminal and create/edit your profile file:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">vi ~/.profile</pre></div></div>

<p>Set your path variable like this:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">export PATH=&quot;/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH&quot;</pre></div></div>

<p>Close and save the file. Now load the the path variable to your current shell:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">source ~/.profile</pre></div></div>

<p>Now verify your updated path:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">echo $PATH</pre></div></div>

<p>You should see <code>/usr/local/bin</code> at the beginning of the line returned by the system.</p>
<p>Now lets download the MySQL source and start compiling like crazy :</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">curl -0 http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.41.tar.gz/from/http://mysql.easynet.be/
&nbsp;
tar xzvf mysql-5.1.41.tar.gz
cd mysql-5.1.41
CC=gcc CFLAGS=&quot;-arch x86_64 -O3 -fno-omit-frame-pointer&quot; CXX=gcc CXXFLAGS=&quot;-arch x86_64 -O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti&quot; ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-shared --with-plugins=myisam,innobase --with-zlib-dir=bundled --with-big-tables --with-readline
&nbsp;
make
sudo make install
&nbsp;
cd /usr/local/mysql
sudo ./bin/mysql_install_db --user=mysql
sudo chown -R mysql ./var</pre></div></div>

<p>Ok, everything should be compiled and installed without problems. Now lets create the launch daemon with the following content</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">sudo vi /Library/LaunchDaemons/com.mysql.mysqld.plits</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;lt;</span>?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?<span style="color: #ddbb00;">&amp;gt;</span>
<span style="color: #ddbb00;">&amp;lt;</span>!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;<span style="color: #ddbb00;">&amp;gt;</span>
<span style="color: #ddbb00;">&amp;lt;</span>plist version=&quot;1.0&quot;<span style="color: #ddbb00;">&amp;gt;</span>
<span style="color: #ddbb00;">&amp;lt;</span>dict<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>key<span style="color: #ddbb00;">&amp;gt;</span>KeepAlive<span style="color: #ddbb00;">&amp;lt;</span>/key<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>true/<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>key<span style="color: #ddbb00;">&amp;gt;</span>Label<span style="color: #ddbb00;">&amp;lt;</span>/key<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>string<span style="color: #ddbb00;">&amp;gt;</span>com.mysql.mysqld<span style="color: #ddbb00;">&amp;lt;</span>/string<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>key<span style="color: #ddbb00;">&amp;gt;</span>Program<span style="color: #ddbb00;">&amp;lt;</span>/key<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>string<span style="color: #ddbb00;">&amp;gt;</span>/usr/local/mysql/bin/mysqld_safe<span style="color: #ddbb00;">&amp;lt;</span>/string<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>key<span style="color: #ddbb00;">&amp;gt;</span>RunAtLoad<span style="color: #ddbb00;">&amp;lt;</span>/key<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>true/<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>key<span style="color: #ddbb00;">&amp;gt;</span>UserName<span style="color: #ddbb00;">&amp;lt;</span>/key<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>string<span style="color: #ddbb00;">&amp;gt;</span>mysql<span style="color: #ddbb00;">&amp;lt;</span>/string<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>key<span style="color: #ddbb00;">&amp;gt;</span>WorkingDirectory<span style="color: #ddbb00;">&amp;lt;</span>/key<span style="color: #ddbb00;">&amp;gt;</span>
 <span style="color: #ddbb00;">&amp;lt;</span>string<span style="color: #ddbb00;">&amp;gt;</span>/usr/local/mysql<span style="color: #ddbb00;">&amp;lt;</span>/string<span style="color: #ddbb00;">&amp;gt;</span>
<span style="color: #ddbb00;">&amp;lt;</span>/dict<span style="color: #ddbb00;">&amp;gt;</span>
<span style="color: #ddbb00;">&amp;lt;</span>/plist<span style="color: #ddbb00;">&amp;gt;</span></pre></div></div>

<p>Change the user to root.</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">sudo chown root /Library/LaunchDaemons/com.mysql.mysqld.plist</pre></div></div>

<p>Now, to start / stop MySQL, run the these commands:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plist
&nbsp;
sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist</pre></div></div>

<p>Now the last thing todo is to set the root password:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">mysqladmin -u root password &quot;mypassword&quot;</pre></div></div>

<p>Now MySQL should be running smoothly and without problems on Snow Leopard.</p>
<p>NOTE: For the RoR mysql gem, use the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">sudo env ARCHFLAGS=&quot;-arch x86_64&quot; gem install mysql -- --with-mysql-dir=/usr/local/mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.lone-gunman.be/2009/12/06/installing-mysql-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Time Machine &amp; Network Drive.</title>
		<link>http://www.lone-gunman.be/2009/06/22/time-machine-network-drive/</link>
		<comments>http://www.lone-gunman.be/2009/06/22/time-machine-network-drive/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 18:16:12 +0000</pubDate>
		<dc:creator>D@ Mick</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.lone-gunman.be/?p=80</guid>
		<description><![CDATA[NOTE: SMALL UPDATE FOR SNOW LEOPARD USERS. KEEP THIS UPDATE NEXT TO THIS POST
Just bought a network disk last week to backup some stuff on from my dads computer. But instead of buying a normal external USB drive, I decided to buy a network drive so I could use it myself.
After some research I choose [...]]]></description>
			<content:encoded><![CDATA[<p>NOTE: SMALL UPDATE FOR SNOW LEOPARD USERS. KEEP <a href="http://www.lone-gunman.be/2009/12/19/time-machine-network-drive-snow-leopard-update/">THIS UPDATE</a> NEXT TO THIS POST</p>
<p>Just bought a network disk last week to backup some stuff on from my dads computer. But instead of buying a normal external USB drive, I decided to buy a network drive so I could use it myself.</p>
<p>After some research I choose for the Lacie Network Drive. It has a simple web interface for configuration purposes and it&#8217;s accessible through AFP, SMB and FTP.</p>
<p>For Windows/Linux users, SMB would be enough, but since I work on a Mac, I needed the AFP protocol.<br />
Leopard is a great OS and it has many great features. One of it is Time Machine. Time machine takes hourly snapshots of your disk and lets you browse through your backup history to recover lost files.</p>
<p>By default, Time Machine only backups to external drives connected trough USB. But I found out it&#8217;s pritty easy to let it automatically backup to a network drive.</p>
<p>First, enable unsupported volumes in Time Machine. This can be done by opening Terminal and enter the following command:</p>
<p><code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</code></p>
<p>Now when you want to select a disk, your network drive should show up in the list. But that&#8217;s not all. For some reason, Time Machine is unable to create the initial sparcebundle. Well, it actualy starts creating it, but during the process, it just fails. So, we just create it ourselfs.<br />
Go to Disk Utilities and click on &#8220;New Image&#8221; with the following settings:</p>
<ol>
<li>Save As ComputerName_MACAddress (some say you can choose the name yourself, but I didn&#8217;t want to take any chanses.</li>
<li>Change partition to “No Partition Map”</li>
<li>Change Image Format to “Sparce Bundle Disk Image”</li>
<li>Custom Volume size. Set the maximum you want to use on your remote location. Don’t worry if you don’t have the room on your Mac. Sparce Bundle Disk Images grow in size dynamically.</li>
<li>Create it and move this file to your network drive.</li>
</ol>
<p>Now, go to the Time Machine interface again and tell it to start backing up. Now Time Machine should start backup your stuff to your network drive. It should even do so every hour automatically. When you are on location, and Time Machine can&#8217;t access you drive, you won&#8217;t get any errors. It will just retry every hour.</p>
<p>You might find posts where people say that backing up on unsupported drives is a stupid idea and it is unreliable, but untill today, I haven&#8217;t found any problems. I even recovered a few files for testing and it worked perfectly. But even so, don&#8217;t shoot me if something goes wrong.</p>
<p>I just had one small problem when my router assigned a new IP to the network drive. Time Machine didn&#8217;t seem to find the drive anymore even when it was showing up in Finder. So I just fixed the problem by assigning the IP myself (not through DHCP anymore) and problem solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lone-gunman.be/2009/06/22/time-machine-network-drive/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Mac Leopard, ROR 2.2 and MySQL</title>
		<link>http://www.lone-gunman.be/2008/12/26/mac-leopard-ror-22-and-mysql/</link>
		<comments>http://www.lone-gunman.be/2008/12/26/mac-leopard-ror-22-and-mysql/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 14:42:02 +0000</pubDate>
		<dc:creator>D@ Mick</dc:creator>
				<category><![CDATA[ICT]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.lone-gunman.be/?p=58</guid>
		<description><![CDATA[Finally, I found a nice solution for the RoR 2.2 MySQL problem. The initial problem was that the MySQL library isn&#8217;t bundled with RoR anymore, and you need to install it as a gem. No big deal at first, but we Leopard users are &#8220;plagued&#8221; with the fact that Apple has somewhat of an exotic [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I found a nice solution for the RoR 2.2 MySQL problem. The initial problem was that the MySQL library isn&#8217;t bundled with RoR anymore, and you need to install it as a gem. No big deal at first, but we Leopard users are &#8220;plagued&#8221; with the fact that Apple has somewhat of an exotic installation method of web programming.</p>
<p>The stock MySQL and Apache are both 64bit, but the Ruby interpreter is 32 bit. That&#8217;s why you can&#8217;t use the 32 or 64 bit MySQL library gem. I found a lot of &#8220;idea&#8217;s&#8221; on the net, but none of them helped out, or I didn&#8217;t think they where good enough.</p>
<p>One of them was to run a second MySQL instance on 32bit. A lot of users solved  that way but I found it just stupid running 2 MySQL instances. So then it struck me, why not recompiling the stock MySQL as a universal build that supports both 32 and 64 bit?</p>
<p>So I did. I downloaded the source from the MySQL website and compiled it like this:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">MACOSX_DEPLOYMENT_TARGET=10.5 \
CFLAGS='-O3 -fno-common -arch i386 -arch x86_64' \
LDFLAGS='-O3 -arch i386 -arch x86_64' \
CXXFLAGS='-O3 -fno-common -arch i386 -arch x86_64' \
./configure \
'--disable-dependency-tracking' \
'--prefix=/usr/local/mysql' \
'--localstatedir=/usr/local/mysql/data' \
'--libexecdir=/usr/local/mysql/bin' \
'--with-comment=MySQL Community Server (GPL)' \
'--enable-thread-safe-client' \
'--enable-local-infile' \
'--enable-shared' \
'--with-zlib-dir=bundled' \
'--with-big-tables' \
--with-readline \
'--without-docs' \
'--with-plugins=myisam,innobase'</pre></div></div>

<p>And my problem was solved. I had one MySQL instance running, and I finally could use RoR 2.2.</p>
<p>Now the only problem remaining is getting PHP to run properly. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lone-gunman.be/2008/12/26/mac-leopard-ror-22-and-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac, though love</title>
		<link>http://www.lone-gunman.be/2008/12/19/mac-though-love/</link>
		<comments>http://www.lone-gunman.be/2008/12/19/mac-though-love/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 19:46:44 +0000</pubDate>
		<dc:creator>D@ Mick</dc:creator>
				<category><![CDATA[ICT]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.lone-gunman.be/?p=55</guid>
		<description><![CDATA[I recently made the switch to mac. I just love working with it. But I&#8217;m experiencing some downsides to it. This is probably due to lack of knowledge about Mac.
Like most of you know, I&#8217;m in the web development business. So I need PHP and Ruby on Rails.
I was happy to notice that PHP en [...]]]></description>
			<content:encoded><![CDATA[<p>I recently made the switch to mac. I just love working with it. But I&#8217;m experiencing some downsides to it. This is probably due to lack of knowledge about Mac.</p>
<p>Like most of you know, I&#8217;m in the web development business. So I need PHP and Ruby on Rails.</p>
<p>I was happy to notice that PHP en RoR where installed by default on Leopard. But then I needed MySQL PDO. Hmm, the default PHP installation doesn&#8217;t support MySQL PDO. So I need to recompile. So I downloaded the PHP source and tried to recompile it with almost the same parameters I found of my previous installation. But still no go. I just gave up at the moment.</p>
<p>Then next thing happend. RoR 2.2 came out. So I wanted to upgrade. I upgrade an old experimental app and tried to run it. Oops, looks like RoR doesn&#8217;t ship anymore with mysql library. After a quick google, I noticed I had to install the mysql 2.7 gem.</p>
<p>Ok, that&#8217;s easy. Tried to install it, but ran into errors. So after some more googling I saw that other mac users ran into the same problem and various solutions where found. But, none of them worked for me. Well, I didn&#8217;t tried them all. Some of the solutions mentioned installing both 64 and 32 bit version of MySQL. Well, I just like to run a clean system and not messing with diffrent installations.</p>
<p>I googled a lot lately but still didn&#8217;t found a solution for both of my problems. So if any of you readers might have found a solution to help me out, please do share.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lone-gunman.be/2008/12/19/mac-though-love/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
