<?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; gems</title>
	<atom:link href="http://seanbehan.com/tag/gems/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>How to Install a Ruby Package without Ri or RDoc</title>
		<link>http://seanbehan.com/ruby/how-to-install-a-ruby-package-without-ri-or-rdoc/</link>
		<comments>http://seanbehan.com/ruby/how-to-install-a-ruby-package-without-ri-or-rdoc/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 17:43:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[rdoc]]></category>
		<category><![CDATA[ri]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=616</guid>
		<description><![CDATA[
gem install --no-rdoc --no-ri rails



Related posts:Install do_mysql Ruby Gem on Mac OS X
Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition
Install Rmagick on Ubuntu with MagickWand



Related posts:<ol><li><a href='http://seanbehan.com/databases/install-do_mysql-ruby-gem-on-mac-os-x/' rel='bookmark' title='Permanent Link: Install do_mysql Ruby Gem on Mac OS X'>Install do_mysql Ruby Gem on Mac OS X</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/install-and-serve-a-rails-application-from-php-subdirectory-using-apache-phussion-passenger-and-ruby-enterprise-edition/' rel='bookmark' title='Permanent Link: Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition'>Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/install-rmagick-on-ubuntu-with-magickwand/' rel='bookmark' title='Permanent Link: Install Rmagick on Ubuntu with MagickWand'>Install Rmagick on Ubuntu with MagickWand</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<pre>
gem install --no-rdoc --no-ri rails
</pre>


<p>Related posts:<ol><li><a href='http://seanbehan.com/databases/install-do_mysql-ruby-gem-on-mac-os-x/' rel='bookmark' title='Permanent Link: Install do_mysql Ruby Gem on Mac OS X'>Install do_mysql Ruby Gem on Mac OS X</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/install-and-serve-a-rails-application-from-php-subdirectory-using-apache-phussion-passenger-and-ruby-enterprise-edition/' rel='bookmark' title='Permanent Link: Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition'>Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/install-rmagick-on-ubuntu-with-magickwand/' rel='bookmark' title='Permanent Link: Install Rmagick on Ubuntu with MagickWand'>Install Rmagick on Ubuntu with MagickWand</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby/how-to-install-a-ruby-package-without-ri-or-rdoc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send Mail in Ruby with a Pony</title>
		<link>http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/</link>
		<comments>http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:33:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[pony]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=525</guid>
		<description><![CDATA[Great little gem that let&#8217;s you quickly and easily send out mail from your ruby scripts. 

gem install pony

require 'rubygems'
require 'pony'

Pony.mail :from=>"me@example.com", :to=>"you@example.com", :subject=>"hello", :body=>"world"



Related posts:Using sendmail to send mail on ubuntu box
Using the PHP Mail Function with Additional Headers
Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git



Related posts:<ol><li><a href='http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/' rel='bookmark' title='Permanent Link: Using sendmail to send mail on ubuntu box'>Using sendmail to send mail on ubuntu box</a></li>
<li><a href='http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/' rel='bookmark' title='Permanent Link: Using the PHP Mail Function with Additional Headers'>Using the PHP Mail Function with Additional Headers</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>Great little gem that let&#8217;s you quickly and easily send out mail from your ruby scripts. </p>
<pre>
gem install pony

require 'rubygems'
require 'pony'

Pony.mail :from=>"me@example.com", :to=>"you@example.com", :subject=>"hello", :body=>"world"
</pre>


<p>Related posts:<ol><li><a href='http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/' rel='bookmark' title='Permanent Link: Using sendmail to send mail on ubuntu box'>Using sendmail to send mail on ubuntu box</a></li>
<li><a href='http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/' rel='bookmark' title='Permanent Link: Using the PHP Mail Function with Additional Headers'>Using the PHP Mail Function with Additional Headers</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/send-mail-in-ruby-with-a-pony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install do_mysql Ruby Gem on Mac OS X</title>
		<link>http://seanbehan.com/databases/install-do_mysql-ruby-gem-on-mac-os-x/</link>
		<comments>http://seanbehan.com/databases/install-do_mysql-ruby-gem-on-mac-os-x/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:19:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[datamapper]]></category>
		<category><![CDATA[do_mysql]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Sinatra]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=523</guid>
		<description><![CDATA[I ran into the same problem when installing mysql gem for Rails development. This fix worked for me http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/ 
The same thing works with the data objects gem. Just specify the path the mysql config that it&#8217;s using and the gem should install just fine. 

gem install do_mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config



Related posts:Install MySQLdb for Python on [...]


Related posts:<ol><li><a href='http://seanbehan.com/python/install-mysqldb-for-python-on-mac-os-x/' rel='bookmark' title='Permanent Link: Install MySQLdb for Python on Mac OS X'>Install MySQLdb for Python on Mac OS X</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/install-and-serve-a-rails-application-from-php-subdirectory-using-apache-phussion-passenger-and-ruby-enterprise-edition/' rel='bookmark' title='Permanent Link: Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition'>Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition</a></li>
<li><a href='http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/' rel='bookmark' title='Permanent Link: Fixing MySQL for Rails 2.2 Development on Mac OS X'>Fixing MySQL for Rails 2.2 Development on Mac OS X</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I ran into the same problem when installing mysql gem for Rails development. This fix worked for me http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/ </p>
<p>The same thing works with the data objects gem. Just specify the path the mysql config that it&#8217;s using and the gem should install just fine. </p>
<pre>
gem install do_mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
</pre>


<p>Related posts:<ol><li><a href='http://seanbehan.com/python/install-mysqldb-for-python-on-mac-os-x/' rel='bookmark' title='Permanent Link: Install MySQLdb for Python on Mac OS X'>Install MySQLdb for Python on Mac OS X</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/install-and-serve-a-rails-application-from-php-subdirectory-using-apache-phussion-passenger-and-ruby-enterprise-edition/' rel='bookmark' title='Permanent Link: Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition'>Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition</a></li>
<li><a href='http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/' rel='bookmark' title='Permanent Link: Fixing MySQL for Rails 2.2 Development on Mac OS X'>Fixing MySQL for Rails 2.2 Development on Mac OS X</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/databases/install-do_mysql-ruby-gem-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Monk on Ubuntu with Ruby Gems</title>
		<link>http://seanbehan.com/monk/installing-monk-on-ubuntu-with-ruby-gems/</link>
		<comments>http://seanbehan.com/monk/installing-monk-on-ubuntu-with-ruby-gems/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 01:24:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Monk]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rubygems]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=516</guid>
		<description><![CDATA[Installing monk like this will fail 

gem install monk

You&#8217;ll need to install the wycats-thor gem first with this command

gem install wycats-thor -s http://gems.github.com



Related posts:Installing Feedzirra RSS Parser on Ubuntu 8
Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git
Installing Redis Server and Client on Mac OS X and Ubuntu



Related posts:<ol><li><a href='http://seanbehan.com/ruby-on-rails/installing-feedzirra-rss-parser-on-ubuntu-8/' rel='bookmark' title='Permanent Link: Installing Feedzirra RSS Parser on Ubuntu 8'>Installing Feedzirra RSS Parser on Ubuntu 8</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>
<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>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Installing monk like this will fail </p>
<pre>
gem install monk
</pre>
<p>You&#8217;ll need to install the wycats-thor gem first with this command</p>
<pre>
gem install wycats-thor -s http://gems.github.com
</pre>


<p>Related posts:<ol><li><a href='http://seanbehan.com/ruby-on-rails/installing-feedzirra-rss-parser-on-ubuntu-8/' rel='bookmark' title='Permanent Link: Installing Feedzirra RSS Parser on Ubuntu 8'>Installing Feedzirra RSS Parser on Ubuntu 8</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>
<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>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/monk/installing-monk-on-ubuntu-with-ruby-gems/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>
	</channel>
</rss>
