<?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>船长日志 &#187; ruby</title>
	<atom:link href="http://www.cslog.cn/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cslog.cn</link>
	<description>最让我激动的是不知道下一个星球上能发现什么...</description>
	<lastBuildDate>Wed, 30 Jul 2025 16:06:05 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>[BUG] cross-thread violation on rb_gc()</title>
		<link>http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/</link>
		<comments>http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:08:11 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[今天在mac os x leopard上安装typo时遇到 [BUG] cros &#8230; <a href="http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>今天在mac os x leopard上安装typo时遇到<br />
[BUG] cross-thread violation on rb_gc()<br />
错误.<br />
google了一下, 发下有可能是因为系统上安装了多个版本的ruby 引起的. 我的mac上的确有多个ruby: 一个是leopard原带的, 另一个是自己用macport安装的. 但是系统原带的ruby1.8.6已经在清理硬盘空间时给删除了, 文件快捷链接也都换了, 使用ruby -v也显示是1.8.7版的信息. <br />
全系统搜索了一下, 竟然发现系统上还有个<br />
/System/Library/Frameworks/Ruby.framework/Versions/Current/usr<br />
里面带有ruby文件.<br />
将它去除, 改成一个文件快捷链接到自己安装的那个ruby文件那里, 问题解决了.
<div style="margin-top: 15px; font-style: italic">
<p>转载请注明: 转自<a href="http://www.cslog.cn/">船长日志</a>, 本文链接地址: <a href="http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/">http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>怎样看本地ruby gem的rDoc文档</title>
		<link>http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/</link>
		<comments>http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/#comments</comments>
		<pubDate>Mon, 11 May 2009 17:58:31 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[rdoc]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[在本地查看rDoc文档其实很简单, 只要运行: gem server 你就可以用 &#8230; <a href="http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>在本地查看rDoc文档其实很简单, 只要运行:<br />
gem server<br />
你就可以用浏览器通过 http://localhost:8808/ 网址查看所有已经安装的ruby gem的rDoc文档了.
<div style="margin-top: 15px; font-style: italic">
<p>转载请注明: 转自<a href="http://www.cslog.cn/">船长日志</a>, 本文链接地址: <a href="http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/">http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
