<?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>Sean Behan&#039;s Web Development Portfolio and Blog &#187; mac os x</title>
	<atom:link href="http://seanbehan.com/tag/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Development, Wordpress, Moodle, Ruby on Rails and Design in Burlington, Vermont</description>
	<lastBuildDate>Fri, 30 Jul 2010 17:17:12 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ruby on Rails, jQuery and YUI API Docs Available as Mac OS X Dictionary Binaries</title>
		<link>http://seanbehan.com/documentation/ruby-on-rails-jquery-and-yui-api-docs-available-as-mac-os-x-dictionary-binaries/</link>
		<comments>http://seanbehan.com/documentation/ruby-on-rails-jquery-and-yui-api-docs-available-as-mac-os-x-dictionary-binaries/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 15:09:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[dictionary]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=636</guid>
		<description><![CDATA[I came across an awesome tool this morning. Priit Haamer has chunked Ruby on Rails, jQuery, and some of YUI documentation into native Mac OS X dictionary binaries. This lets you search those API docs from Spotlight, TextMate, any application that uses the dictionary app! 
I have tested the Ruby on Rails API within TextMate. [...]


Related posts:<ol><li><a href='http://seanbehan.com/programming/using-jquery-and-prototype-javascript-together-with-jquerynoconflict/' rel='bookmark' title='Permanent Link: Using jQuery and Prototype Javascript Together with jQuery.noConflict();'>Using jQuery and Prototype Javascript Together with jQuery.noConflict();</a></li>
<li><a href='http://seanbehan.com/programming/set-cron-job-to-run-every-five-minutes-for-a-ruby-on-rails-rake-task/' rel='bookmark' title='Permanent Link: Set Cron Job to Run Every Five Minutes for a Ruby on Rails Rake Task'>Set Cron Job to Run Every Five Minutes for a Ruby on Rails Rake Task</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/new-ubuntu-slice-apache-mysql-php-ruby-on-rails-git-and/' rel='bookmark' title='Permanent Link: Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git'>Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I came across an awesome tool this morning. <a href="http://www.priithaamer.com/">Priit Haamer</a> has chunked Ruby on Rails, jQuery, and some of YUI documentation into native Mac OS X dictionary binaries. This lets you search those API docs from Spotlight, TextMate, any application that uses the dictionary app! </p>
<p>I have tested the Ruby on Rails API within TextMate. Hover over any function and hit ctl+cmd+d and a little popup will give you a glimpse at the API docs. Seems like a nice alternative to ACK or the normal TextMate function lookup.</p>
<p>More information and installation instructions are available at Priit&#8217;s site <a href="http://www.priithaamer.com/blog">http://www.priithaamer.com/blog</a> </p>
<p>Here is a nice video of the tool</p>
<p><a href="http://seanbehan.com/documentation/ruby-on-rails-jquery-and-yui-api-docs-available-as-mac-os-x-dictionary-binaries/"><em>Click here to view the embedded video.</em></a></p>


<p>Related posts:<ol><li><a href='http://seanbehan.com/programming/using-jquery-and-prototype-javascript-together-with-jquerynoconflict/' rel='bookmark' title='Permanent Link: Using jQuery and Prototype Javascript Together with jQuery.noConflict();'>Using jQuery and Prototype Javascript Together with jQuery.noConflict();</a></li>
<li><a href='http://seanbehan.com/programming/set-cron-job-to-run-every-five-minutes-for-a-ruby-on-rails-rake-task/' rel='bookmark' title='Permanent Link: Set Cron Job to Run Every Five Minutes for a Ruby on Rails Rake Task'>Set Cron Job to Run Every Five Minutes for a Ruby on Rails Rake Task</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/new-ubuntu-slice-apache-mysql-php-ruby-on-rails-git-and/' rel='bookmark' title='Permanent Link: Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git'>Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/documentation/ruby-on-rails-jquery-and-yui-api-docs-available-as-mac-os-x-dictionary-binaries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disk Usage Information on Mac OS X</title>
		<link>http://seanbehan.com/mac-os-x/disk-usage-information-on-mac-os-x/</link>
		<comments>http://seanbehan.com/mac-os-x/disk-usage-information-on-mac-os-x/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 18:29:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mac os x]]></category>
		<category><![CDATA[df]]></category>
		<category><![CDATA[du]]></category>
		<category><![CDATA[space]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=594</guid>
		<description><![CDATA[Get disk usage information about the Desktop

$ du -h -d 0 Desktop
14G	Desktop

Information about how much free space is available on computer

$ df -lh
Filesystem     Size   Used  Avail Capacity  Mounted on
/dev/disk0s2  111Gi  109Gi  2.3Gi    98%    /

You can read more about [...]


Related posts:<ol><li><a href='http://seanbehan.com/programming/gem-information-with-gem-list/' rel='bookmark' title='Permanent Link: Gem Information with Gem List'>Gem Information with Gem List</a></li>
<li><a href='http://seanbehan.com/linux/openssl-certificate-generation-information-for-certificate-authority-to-serve-traffic-over-https/' rel='bookmark' title='Permanent Link: OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https'>OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https</a></li>
<li><a href='http://seanbehan.com/linux/how-to-get-your-users-shell-and-path-information/' rel='bookmark' title='Permanent Link: How to Get Your User&#8217;s SHELL and PATH Information'>How to Get Your User&#8217;s SHELL and PATH Information</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Get disk usage information about the Desktop</p>
<pre>
$ du -h -d 0 Desktop
14G	Desktop
</pre>
<p>Information about how much free space is available on computer</p>
<pre>
$ df -lh
Filesystem     Size   Used  Avail Capacity  Mounted on
/dev/disk0s2  111Gi  109Gi  2.3Gi    98%    /
</pre>
<p>You can read more about the flags with the man pages</p>
<pre>
$ man du
$ man df
</pre>
<p>This is my 100th post!!!</p>


<p>Related posts:<ol><li><a href='http://seanbehan.com/programming/gem-information-with-gem-list/' rel='bookmark' title='Permanent Link: Gem Information with Gem List'>Gem Information with Gem List</a></li>
<li><a href='http://seanbehan.com/linux/openssl-certificate-generation-information-for-certificate-authority-to-serve-traffic-over-https/' rel='bookmark' title='Permanent Link: OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https'>OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https</a></li>
<li><a href='http://seanbehan.com/linux/how-to-get-your-users-shell-and-path-information/' rel='bookmark' title='Permanent Link: How to Get Your User&#8217;s SHELL and PATH Information'>How to Get Your User&#8217;s SHELL and PATH Information</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/mac-os-x/disk-usage-information-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Scala on Mac OS X Leopard</title>
		<link>http://seanbehan.com/programming/installing-scala-on-mac-os-x-leopard/</link>
		<comments>http://seanbehan.com/programming/installing-scala-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 03:52:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[scala]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=543</guid>
		<description><![CDATA[I followed the instructions from here http://arvinderkang.com/2009/09/01/installing-scala-on-snow-leopard/ but I used version 2.7.6 (rather than .5) I installed scala under /usr/local/scala so I had to include it to my path. Type

vim .bash_profile
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/scala/scala-2.7.6.final/bin:$PATH"

Now to download and install&#8230; 

curl -O http://www.scala-lang.org/downloads/distrib/files/scala-2.7.6.final-installer.jar
sudo java -jar scala-2.7.6.final-installer.jar

This will launch an installer. Just follow the instructions and when it asks for [...]


Related posts:<ol><li><a href='http://seanbehan.com/programming/installing-sphinx-search-engine-on-mac-os-x-or-ld-library-not-found-for-lmysqlclient/' rel='bookmark' title='Permanent Link: Installing Sphinx Search Engine on Mac OS X&#8230; or ld: library not found for -lmysqlclient'>Installing Sphinx Search Engine on Mac OS X&#8230; or ld: library not found for -lmysqlclient</a></li>
<li><a href='http://seanbehan.com/databases/installing-redis-server-and-client-on-mac-os-x-and-ubuntu/' rel='bookmark' title='Permanent Link: Installing Redis Server and Client on Mac OS X and Ubuntu'>Installing Redis Server and Client on Mac OS X and Ubuntu</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/installing-redmine-pm-software-on-apache-with-phusion-and-ree-and-seeing-a-404-page-not-found-error-on-installation/' rel='bookmark' title='Permanent Link: Installing RedMine PM Software on Apache with Phusion and REE and Seeing a 404 Page Not Found Error on Installation'>Installing RedMine PM Software on Apache with Phusion and REE and Seeing a 404 Page Not Found Error on Installation</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I followed the instructions from here http://arvinderkang.com/2009/09/01/installing-scala-on-snow-leopard/ but I used version 2.7.6 (rather than .5) I installed scala under /usr/local/scala so I had to include it to my path. Type</p>
<pre>
vim .bash_profile
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/scala/scala-2.7.6.final/bin:$PATH"
</pre>
<p>Now to download and install&#8230; </p>
<pre>
curl -O http://www.scala-lang.org/downloads/distrib/files/scala-2.7.6.final-installer.jar
sudo java -jar scala-2.7.6.final-installer.jar
</pre>
<p>This will launch an installer. Just follow the instructions and when it asks for the destination folder, remember that it&#8217;s in /usr/local/scala<br />
Simple as pie!</p>


<p>Related posts:<ol><li><a href='http://seanbehan.com/programming/installing-sphinx-search-engine-on-mac-os-x-or-ld-library-not-found-for-lmysqlclient/' rel='bookmark' title='Permanent Link: Installing Sphinx Search Engine on Mac OS X&#8230; or ld: library not found for -lmysqlclient'>Installing Sphinx Search Engine on Mac OS X&#8230; or ld: library not found for -lmysqlclient</a></li>
<li><a href='http://seanbehan.com/databases/installing-redis-server-and-client-on-mac-os-x-and-ubuntu/' rel='bookmark' title='Permanent Link: Installing Redis Server and Client on Mac OS X and Ubuntu'>Installing Redis Server and Client on Mac OS X and Ubuntu</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/installing-redmine-pm-software-on-apache-with-phusion-and-ree-and-seeing-a-404-page-not-found-error-on-installation/' rel='bookmark' title='Permanent Link: Installing RedMine PM Software on Apache with Phusion and REE and Seeing a 404 Page Not Found Error on Installation'>Installing RedMine PM Software on Apache with Phusion and REE and Seeing a 404 Page Not Found Error on Installation</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/programming/installing-scala-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing MySQL for Rails 2.2 Development on Mac OS X</title>
		<link>http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/</link>
		<comments>http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 16:35:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=421</guid>
		<description><![CDATA[Oh what trouble Rails 2.2 and MySQL (on Mac OS X) can be. Rails, as of version >= 2.2, no longer comes bundled with the MySQL adapter. This means you&#8217;ll need to install it yourself, but it appears that the gem for installing it is also broken. 
This will fail

gem install mysql

What you need to [...]


Related posts:<ol><li><a href='http://seanbehan.com/ruby-on-rails/sample-rails-database-config-for-mysql/' rel='bookmark' title='Permanent Link: Sample Rails Database Config  for MySQL'>Sample Rails Database Config  for MySQL</a></li>
<li><a href='http://seanbehan.com/programming/mysql-on-rails-232/' rel='bookmark' title='Permanent Link: mysql on rails 2.3.2'>mysql on rails 2.3.2</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/new-ubuntu-slice-apache-mysql-php-ruby-on-rails-git-and/' rel='bookmark' title='Permanent Link: Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git'>Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Oh what trouble Rails 2.2 and MySQL (on Mac OS X) can be. Rails, as of version >= 2.2, no longer comes bundled with the MySQL adapter. This means you&#8217;ll need to install it yourself, but it appears that the gem for installing it is also broken. </p>
<p>This will fail</p>
<pre>
gem install mysql
</pre>
<p>What you need to do is tell the gem which MySQL to use. I installed MySQL with mac ports, http://macports.org , so I need to specify this when I run the installation command. </p>
<pre>
gem install mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
</pre>
<p>Check out an earlier post explaining how to install MySQL with mac ports http://seanbehan.com/programming/installing-sphinx-search-engine-on-mac-os-x-or-ld-library-not-found-for-lmysqlclient/</p>
<p>You&#8217;re not out of the woods yet. Rails needs to know the location of the socket it uses to connect to the MySQL server. I created a symbolic link to the location Rails normally looks for this socket. You could specify the location of the socket in the config/database.yml file, however, then you&#8217;ll need to do this with each of your applications. </p>
<pre>
ln -s /private/tmp/mysql.sock /opt/local/var/run/mysql5/mysqld.sock
</pre>
<p>If there is an easier way to get MySQL back for Rails on Mac OS X please let me know. I&#8217;d love a quick fix to this problem.</p>


<p>Related posts:<ol><li><a href='http://seanbehan.com/ruby-on-rails/sample-rails-database-config-for-mysql/' rel='bookmark' title='Permanent Link: Sample Rails Database Config  for MySQL'>Sample Rails Database Config  for MySQL</a></li>
<li><a href='http://seanbehan.com/programming/mysql-on-rails-232/' rel='bookmark' title='Permanent Link: mysql on rails 2.3.2'>mysql on rails 2.3.2</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/new-ubuntu-slice-apache-mysql-php-ruby-on-rails-git-and/' rel='bookmark' title='Permanent Link: Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git'>Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Sphinx Search Engine on Mac OS X&#8230; or ld: library not found for -lmysqlclient</title>
		<link>http://seanbehan.com/programming/installing-sphinx-search-engine-on-mac-os-x-or-ld-library-not-found-for-lmysqlclient/</link>
		<comments>http://seanbehan.com/programming/installing-sphinx-search-engine-on-mac-os-x-or-ld-library-not-found-for-lmysqlclient/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 19:19:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=410</guid>
		<description><![CDATA[If you are trying to install Sphinx on Mac OS X, it will most likely fail. The current version of MySQL bundled with Mac OS X is not supported and therefore, it will spit out the error message because it can&#8217;t find the correct libraries. 

 ld: library not found for -lmysqlclient

There is a quick [...]


Related posts:<ol><li><a href='http://seanbehan.com/linux/install-sphinx-on-ubuntu/' rel='bookmark' title='Permanent Link: Install Sphinx on Ubuntu'>Install Sphinx on Ubuntu</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/how-to-install-ferret-the-full-text-search-engine-with-your-rails-application/' rel='bookmark' title='Permanent Link: How to Install Ferret, the Full Text Search Engine with Your Rails Application'>How to Install Ferret, the Full Text Search Engine with Your Rails Application</a></li>
<li><a href='http://seanbehan.com/programming/installing-scala-on-mac-os-x-leopard/' rel='bookmark' title='Permanent Link: Installing Scala on Mac OS X Leopard'>Installing Scala on Mac OS X Leopard</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you are trying to install Sphinx on Mac OS X, it will most likely fail. The current version of MySQL bundled with Mac OS X is not supported and therefore, it will spit out the error message because it can&#8217;t find the correct libraries. </p>
<pre>
 ld: library not found for -lmysqlclient
</pre>
<p>There is a quick solution to the problem -upgrade mysql! You&#8217;ll need Mac Ports installed, available at </p>
<p>http://macports.org/</p>
<p>Run the command </p>
<pre>
sudo port install mysql5
</pre>
<p>This will not destroy any existing data from your previous MySQL installation. The mac port installation will take a while, and it will appear as if it is just hanging. It&#8217;s not. It just takes a while. I clocked it at 15 minutes on a relatively fast network connection. Drink a cappuccino! </p>
<p>After you have the upgrade you&#8217;ll need to download Sphinx available at:<br />
http://sphinxsearch.com/downloads.html (latest stable) and build the Sphinx engine from source like so: </p>
<pre>
wget http://sphinxsearch.com/downloads/sphinx-0.9.8.1.tar.gz
tar xzvf sphinx-0.9.8.1.tar.gz
cd  sphinx-0.9.8.1/
./configure --with-mysql-libs=/opt/local/lib/mysql5/mysql/
--with-mysql-includes=/opt/local/include/mysql5/mysql/
make
sudo make install
</pre>
<p>Much thanks to this post b/c I spent forever trying to get the bundled version of MySQL linked properly: </p>
<p>http://www.fozworks.com/2008/9/5/rake-installation-of-sphinx-in-mac-osx</p>


<p>Related posts:<ol><li><a href='http://seanbehan.com/linux/install-sphinx-on-ubuntu/' rel='bookmark' title='Permanent Link: Install Sphinx on Ubuntu'>Install Sphinx on Ubuntu</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/how-to-install-ferret-the-full-text-search-engine-with-your-rails-application/' rel='bookmark' title='Permanent Link: How to Install Ferret, the Full Text Search Engine with Your Rails Application'>How to Install Ferret, the Full Text Search Engine with Your Rails Application</a></li>
<li><a href='http://seanbehan.com/programming/installing-scala-on-mac-os-x-leopard/' rel='bookmark' title='Permanent Link: Installing Scala on Mac OS X Leopard'>Installing Scala on Mac OS X Leopard</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/programming/installing-sphinx-search-engine-on-mac-os-x-or-ld-library-not-found-for-lmysqlclient/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
