<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>tao of yue &#187; ruby</title>
	<atom:link href="http://niyue.com/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://niyue.com</link>
	<description>literally, &#34;way&#34; or &#34;path&#34;</description>
	<lastBuildDate>Sun, 09 Oct 2011 10:19:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='niyue.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>tao of yue &#187; ruby</title>
		<link>http://niyue.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://niyue.com/osd.xml" title="tao of yue" />
	<atom:link rel='hub' href='http://niyue.com/?pushpress=hub'/>
		<item>
		<title>Install mysql driver Ruby gem on Leopard</title>
		<link>http://niyue.com/2008/10/14/mysql-gem-on-leopard/</link>
		<comments>http://niyue.com/2008/10/14/mysql-gem-on-leopard/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 15:20:02 +0000</pubDate>
		<dc:creator>niyue</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://niyue.com/?p=222</guid>
		<description><![CDATA[Ruby, Rails and MySQL with Leopard 10.5.2 and XCode 3.0 评论中有一个comment介绍了如何安装在安装了x86_64架构的mysql后，如何在Leopard上安装mysql gem。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=niyue.com&#038;blog=34633&#038;post=222&#038;subd=niyue&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://cho.hapgoods.com/wordpress/?p=158">Ruby, Rails and MySQL with Leopard 10.5.2 and XCode 3.0</a><br />
评论中有一个comment介绍了如何安装在安装了x86_64架构的mysql后，如何在Leopard上安装mysql gem。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/niyue.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/niyue.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/niyue.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/niyue.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/niyue.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/niyue.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/niyue.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/niyue.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/niyue.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/niyue.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/niyue.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/niyue.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/niyue.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/niyue.wordpress.com/222/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=niyue.com&#038;blog=34633&#038;post=222&#038;subd=niyue&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://niyue.com/2008/10/14/mysql-gem-on-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8425457b7317576680146aa8149be472?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">niyue</media:title>
		</media:content>
	</item>
		<item>
		<title>发布Ruby Gem</title>
		<link>http://niyue.com/2008/05/21/distribute-ruby-gem/</link>
		<comments>http://niyue.com/2008/05/21/distribute-ruby-gem/#comments</comments>
		<pubDate>Wed, 21 May 2008 14:17:16 +0000</pubDate>
		<dc:creator>niyue</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://niyue.com/?p=220</guid>
		<description><![CDATA[RubyGems是一个用于Ruby的包管理工具，虽然并未包含在Ruby的发行版中，但是可以认为是事实上Ruby世界中标准的发布Ruby程序和库的工具，可以很方便的管理gem之间的依赖性。 如果你是在进行Open Source的Ruby程序开发，可以直接通过Rubyforge来发布gem。不过如果是自己的私有项目，可能就需要自己搭建一个Web server来进行gem的发布了。如果系统中已经安装了RubyGems的话，通过gem server (gem help server看看用法)就可以启动一个简单的gem发布的server。不过很可能的，你已经有一个Web Server在系统环境中了(如Apache Web Server)，这个时候就通过以下的几个步骤可以完成把这个Web Server改造成为一个gem distribution server: 1) 建立一个发布目录，并设置Apache(或者其他的Web Server)使得这一目录能够通过Web访问。并在这一发布目录下建立一个名为gems的子目录。 比如我们在htdocs目录下建立一个目录dist，并建立一个gems子目录。 2) 拷贝打包好的gem到dist/gems目录中。  如拷贝allmighty-1.0.gem到htdocs/dist/gems目录中。 3) 在命令行界面中，进入dist目录，运行“gem generate_index .”(请注意最后的一个点，表示当前目录)。这一命令会对gems子目录中的所有gem建立一个索引文件yaml，并存放在dist目录下，以便可以通过gem install命令安装时查找。 4) You&#8217;re done~ 在这之后，你就可以通过&#8221;gem install allmighty &#8211;source http://yourhost.com/dist/&#8221;命令来安装你新发布的gem了。 5) 如果以后还有新的gem需要发布或者有新的版本的gem需要发布，请从步骤2)开始继续即可。 关于RubyGems，有一本很好的书，介绍了其使用、开发和发布等，有兴趣的话可以看看。 Practical Ruby Gems<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=niyue.com&#038;blog=34633&#038;post=220&#038;subd=niyue&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>RubyGems是一个用于Ruby的包管理工具，虽然并未包含在Ruby的发行版中，但是可以认为是事实上Ruby世界中标准的发布Ruby程序和库的工具，可以很方便的管理gem之间的依赖性。</p>
<p>如果你是在进行Open Source的Ruby程序开发，可以直接通过Rubyforge来发布gem。不过如果是自己的私有项目，可能就需要自己搭建一个Web server来进行gem的发布了。如果系统中已经安装了RubyGems的话，通过gem server (gem help server看看用法)就可以启动一个简单的gem发布的server。不过很可能的，你已经有一个Web Server在系统环境中了(如Apache Web Server)，这个时候就通过以下的几个步骤可以完成把这个Web Server改造成为一个gem distribution server:</p>
<p>1) 建立一个发布目录，并设置Apache(或者其他的Web Server)使得这一目录能够通过Web访问。并在这一发布目录下建立一个名为gems的子目录。</p>
<blockquote><p>比如我们在htdocs目录下建立一个目录dist，并建立一个gems子目录。</p></blockquote>
<p>2) 拷贝打包好的gem到dist/gems目录中。</p>
<blockquote><p> 如拷贝allmighty-1.0.gem到htdocs/dist/gems目录中。</p></blockquote>
<p>3) 在命令行界面中，进入dist目录，运行“gem generate_index .”(请注意最后的一个点，表示当前目录)。这一命令会对gems子目录中的所有gem建立一个索引文件yaml，并存放在dist目录下，以便可以通过gem install命令安装时查找。</p>
<p>4) You&#8217;re done~</p>
<blockquote><p>在这之后，你就可以通过&#8221;gem install allmighty &#8211;source http://yourhost.com/dist/&#8221;命令来安装你新发布的gem了。</p></blockquote>
<p>5) 如果以后还有新的gem需要发布或者有新的版本的gem需要发布，请从步骤2)开始继续即可。</p>
<p>关于RubyGems，有一本很好的书，介绍了其使用、开发和发布等，有兴趣的话可以看看。</p>
<p><a href="http://www.apress.com/book/view/9781590598115">Practical Ruby Gems</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/niyue.wordpress.com/220/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/niyue.wordpress.com/220/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/niyue.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/niyue.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/niyue.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/niyue.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/niyue.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/niyue.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/niyue.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/niyue.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/niyue.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/niyue.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/niyue.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/niyue.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/niyue.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/niyue.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=niyue.com&#038;blog=34633&#038;post=220&#038;subd=niyue&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://niyue.com/2008/05/21/distribute-ruby-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8425457b7317576680146aa8149be472?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">niyue</media:title>
		</media:content>
	</item>
	</channel>
</rss>
