<?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/zh-hant/" 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/zh-hant/</link>
		<comments>http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/zh-hant/#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/zh-hant/">繼續閱讀 <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/zh-hant/">http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/zh-hant/</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cslog.cn/Content/BUG-cross-thread-violation-on-rb_gc-ruby-leopard/feed/zh-hant/</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/zh-hant/</link>
		<comments>http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/zh-hant/#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/zh-hant/">繼續閱讀 <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/zh-hant/">http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/zh-hant/</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cslog.cn/Content/howto-view-ruby-gem-rdoc/feed/zh-hant/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- WP Chinese Conversion Full Page Converted -->