<?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>codedifferent.com &#187; mac os x</title>
	<atom:link href="http://www.codedifferent.com/tag/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedifferent.com</link>
	<description>mobile &#124; mac &#124; business &#124; development blog</description>
	<lastBuildDate>Sun, 04 Dec 2011 17:32:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Live Video Stream of the Apple &#8220;Back to the Mac&#8221; Media Event</title>
		<link>http://www.codedifferent.com/2010/10/20/live-video-stream-apple-back-t-the-mac/</link>
		<comments>http://www.codedifferent.com/2010/10/20/live-video-stream-apple-back-t-the-mac/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 14:25:46 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[Steve Jobs]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=666</guid>
		<description><![CDATA[Today, October 20th at 10 AM PST (07 PM CET), Apple invited the press to their &#8220;Back to the Mac&#8221; media event in Cupertino, California. iPhone, iPad and the iPod are quite important &#8230; but there sure are the MacBooks, MacBook Pros, the iMacs, the Mac Pros and the Mac OS X as a base [...]]]></description>
			<content:encoded><![CDATA[<p>Today, October 20th at 10 AM PST (07 PM CET), Apple invited the press to their &#8220;Back to the Mac&#8221; media event in Cupertino, California. iPhone, iPad and the iPod are quite important &#8230; but there sure are the MacBooks, MacBook Pros, the iMacs, the Mac Pros and the Mac OS X as a base for all the success. So it&#8217;ll be quite interesting to watch what Steve Jobs will present us today.<br />
As <a href="http://tech.fortune.cnn.com/2010/10/20/live-video-back-to-the-mac/">Fortune reported</a>, viewing the live stream requires Safari on Mac OS X 10.6 or an iPhone/iPod touch with iOS 3.0 or better &#8230; or an iPad. </p>
<p>Stay tuned for the Live Streaming URL.</p>
<p>[UPDATE] Here&#8217;s the live stream: <a href="http://www.apple.com/apple-events/october-2010/">http://www.apple.com/apple-events/october-2010/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2010/10/20/live-video-stream-apple-back-t-the-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby 1.9.1 &amp; Rails 3.0: Fixing &#8216;Invalid .gemspec format&#8217; and rubygem warnings</title>
		<link>http://www.codedifferent.com/2010/02/11/ruby-1-9-1-rails-3-0-fixing-invalid-gemspec-format-and-rubygem-warnings/</link>
		<comments>http://www.codedifferent.com/2010/02/11/ruby-1-9-1-rails-3-0-fixing-invalid-gemspec-format-and-rubygem-warnings/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 21:22:35 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails3.0]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby1.9.1]]></category>
		<category><![CDATA[rubygems]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[warnings]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=544</guid>
		<description><![CDATA[I had a lot of trouble with some rubygem warnings after upgrading to Ruby 1.9.1 and Rails 3.0 on Mac OS x Snow Leopard. They always occurred when I started the server within the project with the command rails server At first, when running on bundler 0.9.3, I had two types of errors. The first [...]]]></description>
			<content:encoded><![CDATA[<p>I had a lot of trouble with some rubygem warnings after upgrading to Ruby 1.9.1 and Rails 3.0 on Mac OS x Snow Leopard. They always occurred when I started the server within the project with the command</p>

<div class="wp_codebox"><table><tr id="p54411"><td class="code" id="p544code11"><pre class="bash" style="font-family:monospace;">rails server</pre></td></tr></table></div>

<p>At first, when running on bundler 0.9.3,  I had two types of errors. The first NoMethodError populated the terminal with hundreds lines of code, like &#8230;</p>

<div class="wp_codebox"><table><tr id="p54412"><td class="code" id="p544code12"><pre class="bash" style="font-family:monospace;">WARNING:  <span style="color: #666666; font-style: italic;"># NoMethodError: undefined method ` ' for nil:NilClass </span>
<span style="color: #666666; font-style: italic;"># -*- encoding: utf-8 -*-</span>
...
WARNING:  Invalid .gemspec format <span style="color: #000000; font-weight: bold;">in</span> \
<span style="color: #ff0000;">'.rvm/gems/ruby-1.9.1-p378/specifications/spec.gemspec'</span></pre></td></tr></table></div>

<p>The <a href="http://github.com/carlhuda/bundler/issues/issue/24#issue/24/comment/127572">bundler-team around Carlhuda</a> fixed that issue within bundler 0.9.4. So that problem will not occur any more.<br />
The other problem was quite persistent. When starting the server via</p>

<div class="wp_codebox"><table><tr id="p54413"><td class="code" id="p544code13"><pre class="bash" style="font-family:monospace;">rails server</pre></td></tr></table></div>

<p>or doing a test via</p>

<div class="wp_codebox"><table><tr id="p54414"><td class="code" id="p544code14"><pre class="bash" style="font-family:monospace;">rake</pre></td></tr></table></div>

<p>within the rails-3-project resulted in a bunch of warnings:</p>

<div class="wp_codebox"><table><tr id="p54415"><td class="code" id="p544code15"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems.rb:<span style="color: #000000;">14</span>: \
warning: already initialized constant VERSION
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems.rb:<span style="color: #000000;">14</span>: \
warning: already initialized constant RubyGemsVersion
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems.rb:<span style="color: #000000;">194</span>: \
warning: already initialized constant MUTEX
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems.rb:<span style="color: #000000;">196</span>: \
warning: already initialized constant RubyGemsPackageVersion
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems.rb:<span style="color: #000000;">202</span>: \
warning: already initialized constant WIN_PATTERNS
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems.rb:<span style="color: #000000;">1079</span>:\
 warning: already initialized constant MARSHAL_SPEC_DIR
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems.rb:<span style="color: #000000;">1084</span>: \
warning: already initialized constant YAML_SPEC_DIR
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>version.rb:<span style="color: #000000;">72</span>: \
warning: already initialized constant VERSION_PATTERN
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>requirement.rb:<span style="color: #000000;">20</span>: \
warning: already initialized constant OPS
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>requirement.rb:<span style="color: #000000;">30</span>: \
warning: already initialized constant OP_RE
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>version.rb:<span style="color: #000000;">246</span>: \
warning: already initialized constant Requirement
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>dependency.rb:<span style="color: #000000;">18</span>: \
warning: already initialized constant TYPES
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>platform.rb:<span style="color: #000000;">171</span>: \
warning: already initialized constant RUBY
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>platform.rb:<span style="color: #000000;">177</span>: \
warning: already initialized constant CURRENT
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>specification.rb:<span style="color: #000000;">39</span>: \
warning: already initialized constant NONEXISTENT_SPECIFICATION_VERSION
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>specification.rb:<span style="color: #000000;">50</span>: \
warning: already initialized constant CURRENT_SPECIFICATION_VERSION
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>specification.rb:<span style="color: #000000;">56</span>: \
warning: already initialized constant SPECIFICATION_VERSION_HISTORY
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>specification.rb:<span style="color: #000000;">72</span>: \
warning: already initialized constant MARSHAL_FIELDS
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>specification.rb:<span style="color: #000000;">75</span>: \
warning: already initialized constant TODAY
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>source_index.rb:<span style="color: #000000;">593</span>: \
warning: already initialized constant Cache
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>config_file.rb:<span style="color: #000000;">14</span>: \
warning: already initialized constant DEFAULT_BACKTRACE
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>config_file.rb:<span style="color: #000000;">15</span>: \
warning: already initialized constant DEFAULT_BENCHMARK
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>config_file.rb:<span style="color: #000000;">16</span>: \
warning: already initialized constant DEFAULT_BULK_THRESHOLD
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>config_file.rb:<span style="color: #000000;">17</span>: \
warning: already initialized constant DEFAULT_VERBOSITY
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>config_file.rb:<span style="color: #000000;">18</span>: \
warning: already initialized constant DEFAULT_UPDATE_SOURCES
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>config_file.rb:<span style="color: #000000;">24</span>: \
warning: already initialized constant OPERATING_SYSTEM_DEFAULTS
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>config_file.rb:<span style="color: #000000;">30</span>: \
warning: already initialized constant PLATFORM_DEFAULTS
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>config_file.rb:<span style="color: #000000;">53</span>: \
warning: already initialized constant SYSTEM_WIDE_CONFIG_FILE</pre></td></tr></table></div>

<p><a href="https://rails.lighthouseapp.com/projects/8994/tickets/3865-invalid-gemspec-format-in-and-already-initialized-constant-warnings-with-ruby-192dev">Jeremy Kemper from the Rails core team</a> pointed out that this is not a Rails problem, but a RubyGems issue. Ruby 1.9 ships with an outdated RubyGems &#8230; like 1.9.1p378 ships with RubyGems 1.3.1. I did update RubyGems to Version 1.3.5 by</p>

<div class="wp_codebox"><table><tr id="p54416"><td class="code" id="p544code16"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem update <span style="color: #660033;">--system</span></pre></td></tr></table></div>

<p>but this resulted in some duplicated rubygem files, which cause the error. </p>
<p>So how can the problem be solved? Deleting and reinstalling Ruby 1.9.1 does not have any effect &#8230; but the solution is quite simple:</p>
<h3>If you already installed Ruby 1.9.1 and Rails 3.0 beta:</h3>
<p>1. Be sure that you do NOT install RubyGems 1.3.5 separately after the installation of Ruby 1.9.1 &#8211; this would result in a double installation. So have that in mind when following the excellent instructions to <a href="http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/">installing Ruby, RubyGems, and Rails on Snow Leopard of Dan Benjamin</a>.</p>
<p>2. If you already installed Ruby 1.9.1, updated to RubyGems 1.3.5 and bundler 0.9.4 and also installed Rails 3.0, the only thing you have to do is:</p>

<div class="wp_codebox"><table><tr id="p54417"><td class="code" id="p544code17"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem uninstall rubygems-update</pre></td></tr></table></div>

<p>That&#8217;s it. No errors any more!</p>
<h3>If you did not install Ruby 1.9.1 and Rails 3.0 yet &#8230; </h3>
<p>1. You may start with <a href="http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/">Dan Benjamin&#8217;s recipe</a> and modify it so you download, make and install the ruby-1.9.1-p378.tar.gz but NOT the rubygems-1.3.5.tgz.</p>
<p>2. Then update RubyGems with the command</p>

<div class="wp_codebox"><table><tr id="p54418"><td class="code" id="p544code18"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem update <span style="color: #660033;">--system</span></pre></td></tr></table></div>

<p>3. Ensure that the rake and the sqlite3-ruby gems are installed, too.</p>
<p>4. Now install the needed gems and rails &#8211;pre as described in the <a href="http://guides.rails.info/3_0_release_notes.html">Rails 3.0 beta release notes</a></p>
<p>5. After the successful installation of Rails 3.0 beta, you now have to do the vitally important step:</p>

<div class="wp_codebox"><table><tr id="p54419"><td class="code" id="p544code19"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem uninstall rubygems-update</pre></td></tr></table></div>

<p>6. Finally check, if any gem needs an update before diving into Rails 3.0 by</p>

<div class="wp_codebox"><table><tr id="p54420"><td class="code" id="p544code20"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem update</pre></td></tr></table></div>

<p>Hope this helps &#8230; and saves some time. Thx Andy for the hint <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2010/02/11/ruby-1-9-1-rails-3-0-fixing-invalid-gemspec-format-and-rubygem-warnings/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Chaosradio Express podcast: iPhone application development</title>
		<link>http://www.codedifferent.com/2009/01/09/chaosradio-express-podcast-iphone-application-development/</link>
		<comments>http://www.codedifferent.com/2009/01/09/chaosradio-express-podcast-iphone-application-development/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 21:06:01 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Blinkenlights]]></category>
		<category><![CDATA[code monkeys]]></category>
		<category><![CDATA[developemnt]]></category>
		<category><![CDATA[Dominik Wagner]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iphone sdk]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[Martin Pittenauer]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[subethaedit]]></category>
		<category><![CDATA[Tim Pritlove]]></category>
		<category><![CDATA[toronto]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=235</guid>
		<description><![CDATA[Tim Pritlove talked about the iPhone and the native application development for that mobile phone with Martin Pittenauer and Dominik Wagner. Mac users may be aware of Martin and Dominik as the Coding Monkeys with their first Mac OS X masterpiece: SubEthaEdit, a collaborative text editor for the Mac. In 2008 the Monkeys also developed [...]]]></description>
			<content:encoded><![CDATA[<p>Tim Pritlove talked about the iPhone and the native application development for that mobile phone with Martin Pittenauer and Dominik Wagner. Mac users may be aware of Martin and Dominik as the <a href="http://codingmonkeys.de/">Coding Monkeys</a> with their  first Mac OS X masterpiece: SubEthaEdit, a collaborative text editor for the Mac. In 2008 the Monkeys also developed some iPhone applications, like Circulator or Big Clock. Tim, Martin and Dominik all together realized <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=291807780&#038;mt=8">Blinkenlights Stereoscope</a> a simulation of the Blinkenlights Installation Toronto 2008. That&#8217;s why they all can tell a lot of stories of the similarities and differences of programming for Mac OS X and the iPhone OS. Overall a great mixture for those interested in iPhone developement as well as experts. </p>
<p>The only downside for all international blog readers: The podcast is in German only. Here&#8217;s the <a href="http://chaosradio.ccc.de/cre101.html">link to the podcast</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2009/01/09/chaosradio-express-podcast-iphone-application-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPhone nano, iPod tablet or MacBook touch and other MacWorldExpo rumors</title>
		<link>http://www.codedifferent.com/2009/01/04/iphone-nano-ipod-tablet-or-macbook-touch-and-other-macworld-rumors/</link>
		<comments>http://www.codedifferent.com/2009/01/04/iphone-nano-ipod-tablet-or-macbook-touch-and-other-macworld-rumors/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 08:51:50 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone nano]]></category>
		<category><![CDATA[ipod tablet]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[macbook touch]]></category>
		<category><![CDATA[macworldexpo]]></category>
		<category><![CDATA[phil schiller]]></category>
		<category><![CDATA[rumors]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=178</guid>
		<description><![CDATA[In the last days, there is a lot of whispering: Here a Chinese iPod skin manufacturer publishes a small iPhone skin on his website, an analyst wishes for an iPhone for the mass marked &#8230; and bang, everybody is expecting an iPhone nano to be announced. Then the news is spreaded, that Steve Wozniak &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>In the last days, there is a lot of whispering: Here a Chinese iPod skin manufacturer publishes a <a href="http://www.fscklog.com/2008/12/bilder-einer-iphone-nano-hülle.html">small iPhone skin on his website</a>, an analyst wishes for an <a href="http://money.cnn.com/news/newsfeeds/articles/djf500/200812311307DOWJONESDJONLINE000488_FORTUNE5.htm">iPhone for the mass marked</a> &#8230; and bang, everybody is expecting an iPhone nano to be announced. Then the news is spreaded, that Steve Wozniak &#8211; second founder of Apple – will join the presentation of the newest modbook at the <a href="http://www.axiotron.com/index.php?id=36&amp;tx_ttnews[pS]=1230742972&amp;tx_ttnews[tt_news]=112&amp;tx_ttnews[backPid]=42&amp;cHash=c6f3b61814">Axiotron booth</a> at MacWorldExpo &#8230; it’s a MacBook transformed into a tablet Mac. That increases the desire and <a href="http://www.techcrunch.com/2008/12/30/large-form-ipod-touch-to-launch-in-fall-09/">spins the rumor mill even faster for an iPod tablet or MacBook touch</a>. However, the market positioning of such a multitouch-gadget will be tricky:</p>
<ul>
<li>If Apple stays with the walled garden iPhone version of Mac OS X they would have the existing and vital iPhone developer community committed to multitouch and gesture control … and by the way an exclusive distribution channel for applications with the AppStore. The main focus probably would be gaming and entertainment. But the gadget will loose the “pants pocket factor”.</li>
<li>If Apple uses a full Mac OS X version they could use the experiences of Axiotron and have to count on the Mac OS X developers, that they implement the benefits and potentials of multitouch and gesture control within their (existing) applications. The gadget would be more like a “MacBook Air Touch” than an iPod tablet and would more likely suite and target the business customers. En passent this would explain why there is so little  <a href="http://www.macrumors.com/2008/12/28/snow-leopard-screenshots-show-little-new/">spectacular information</a> about the new Mac OS X Snow Leopard features leaked out.</li>
</ul>
<p>What ever Phil Schiller will present on his Keynote at the Moscow-Center at MacWorldExpo in San Francisco on January 6th &#8230; and what is hidden behind the <a href="http://www.appleinsider.com/articles/09/01/02/macworld_site_rife_with_concealed_banners_photos.html">concealed exhibition banners </a>&#8230; I’m thrilled and I’m really looking forward to it <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2009/01/04/iphone-nano-ipod-tablet-or-macbook-touch-and-other-macworld-rumors/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to connect from Mac OS X Leopard to a shared printer via a Windows XP printserver</title>
		<link>http://www.codedifferent.com/2008/06/28/how-to-connect-from-mac-os-x-leopard-to-a-shared-printe-via-a-windows-xp-printserver/</link>
		<comments>http://www.codedifferent.com/2008/06/28/how-to-connect-from-mac-os-x-leopard-to-a-shared-printe-via-a-windows-xp-printserver/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 14:14:44 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[10.5.3]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[windows printing]]></category>
		<category><![CDATA[windows shared printing]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=108</guid>
		<description><![CDATA[Sometimes you are embarrassed to conntect Mac OS X Leopard with a Windows XP printserver. It should work the Mac plug-and-play way &#8230; but it isn&#8217;t. So here is the howto, so you don&#8217;t need to trouble your head about it. Context: In the first corner: A Mac OS X Leopard (10.5.3) machine In the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you are embarrassed to conntect Mac OS X Leopard with a Windows XP printserver. It should work the Mac plug-and-play way &#8230; but it isn&#8217;t. So here is the howto, so you don&#8217;t need to trouble your head about it.</p>
<p><strong>Context:</strong><br />
In the first corner: A Mac OS X Leopard (10.5.3) machine<br />
In the second corner: A Kyocera 2000D laser printer connected to a Windows XP printserver which is protected by password and username.</p>
<p><strong>Problem:</strong><br />
Adding the printer via the standard Apple-way as a windows printer works &#8211; but printing does not work because it is not possible to authenticate against the printserver.</p>
<p><strong>Solution:</strong><br />
You need to add the shared printer via the hidden &#8220;Advanced&#8221; printer feature in the Print &amp; Fax preferences.</p>
<ul>
<li>Open &#8220;Print &amp; Fax&#8221; in &#8220;System Preferences&#8221;</li>
<li>Click &#8220;+&#8221; to add a new printer</li>
<li>Control-click (or right-click) on the toolbar at the top of the window and select &#8220;Customize Toolbar&#8230;&#8221;</li>
<li>Drag the &#8220;Advanced&#8221; icon to the toolbar and select &#8220;Done&#8221;</li>
<li>Click on the &#8220;Advanced&#8221; icon &#8230; and be patient &#8230; after a moment or two, you can select &#8220;Windows&#8221; from the &#8220;Type&#8221; dropdown-menu</li>
<li>Enter the SAMBA URL of the shared windows printer in the &#8220;URL&#8221; textfield:<br />
smb://USERNAME:PASSWORD@WINDOWSDOMAINNAME/PRINTSERVER/PRINTERSHARENAME or<br />
smb://USERNAME:PASSWORD@IPADDRESS/PRINTERSHARENAME<br />
If the shared printer does not need a password, you can use smb://USERNAME@&#8230;</li>
<li>Fill out the other fields &#8220;Name&#8221; and &#8220;Location&#8221; as you prefer</li>
<li>When printing the first time you will get prompted for your USERNAME and PASSWORD. Fill in your windows printserver username and password and enable the &#8220;Add this to your keychain&#8221; checkbox.</li>
</ul>
<p>&#8230; it&#8217;s nearly plug-and-play <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2008/06/28/how-to-connect-from-mac-os-x-leopard-to-a-shared-printe-via-a-windows-xp-printserver/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Mac OS X Update 10.5.3 &#8230;  and problems with iCal and TimeLog 4</title>
		<link>http://www.codedifferent.com/2008/05/29/mac-os-x-update-1053-and-problems-with-ical-and-timelog-4/</link>
		<comments>http://www.codedifferent.com/2008/05/29/mac-os-x-update-1053-and-problems-with-ical-and-timelog-4/#comments</comments>
		<pubDate>Thu, 29 May 2008 13:27:39 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[10.5.3]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[timelog]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/?p=107</guid>
		<description><![CDATA[The huge system update to Mac OS X 10.5.3 with 200 to over 400 MB resolves a lot of bugs and adds up some additional features to Leopard. Example: More digital cameras with their specific RAW-formats are supported now. Or the possibility to sync the Apple Address Book application with Google Contacts. Great to see [...]]]></description>
			<content:encoded><![CDATA[<p>The huge system update to Mac OS X 10.5.3 with 200 to over 400 MB <a href="http://support.apple.com/kb/HT1141">resolves a lot of bugs</a> and adds up some additional features to Leopard. Example: <a href="http://www.apple.com/support/downloads/digitalcamerarawcompatibilityupdate21.html">More digital cameras</a> with their specific RAW-formats are supported now. Or the possibility to <a href="http://googlemac.blogspot.com/2008/05/mac-os-x-1053-sync-google-contacts.html">sync the Apple Address Book application with Google Contacts</a>.<br />
Great to see that WIFI stability was increased by the Apple developers.<br />
An annoying &#8211; but resolvable &#8211; problem appeared after updating when I tried to use the time logging software <a href="http://www.mediaatelier.com/TimeLog4/">TimeLog 4</a>: All log entries within TimeLog are saved in iCal &#8211; and after upgrading to 10.5.3 my work time entries just doubled. It&#8217;s easy to fix the problem by deleting every dublicate log entry &#8211; but you better checkt the timesheet in detail before you hand it out to your customer <img src='http://www.codedifferent.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2008/05/29/mac-os-x-update-1053-and-problems-with-ical-and-timelog-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Developer Tutorial: Rails 2.0 application development on Mac OS X Leopard</title>
		<link>http://www.codedifferent.com/2008/03/04/apple-developer-tutorial-rails-20-application-development-on-mac-os-x-leopard/</link>
		<comments>http://www.codedifferent.com/2008/03/04/apple-developer-tutorial-rails-20-application-development-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 07:53:40 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby-on-rails]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/2008/03/04/apple-developer-tutorial-rails-20-application-development-on-mac-os-x-leopard/</guid>
		<description><![CDATA[Apple starts a series of tutorials on Rails 2.0 development on Mac OS X Leopard. A great introduction in the elegant web developer platform on the Mac. And great to see, that now also Apple starts to promote the open source framework actively.]]></description>
			<content:encoded><![CDATA[<p>Apple starts a series of tutorials on <a href="http://developer.apple.com/tools/developonrailsleopard.html">Rails 2.0 development on Mac OS X Leopard</a>. A great introduction in the elegant web developer platform on the Mac. And great to see, that now also Apple starts to promote the open source framework actively.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2008/03/04/apple-developer-tutorial-rails-20-application-development-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac and iPhone Browser Marketshare are Growing Fast</title>
		<link>http://www.codedifferent.com/2008/02/09/mac-and-iphone-browser-marketshare-are-growing-fast/</link>
		<comments>http://www.codedifferent.com/2008/02/09/mac-and-iphone-browser-marketshare-are-growing-fast/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 16:22:28 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[marketshare]]></category>
		<category><![CDATA[net applications]]></category>

		<guid isPermaLink="false">http://www.codedifferent.com/2008/02/09/mac-and-iphone-browser-marketshare-are-growing-fast/</guid>
		<description><![CDATA[It&#8217;s quite interesting to go into the browser / OS marketshare statistics Net Applications is gathering. Within the last 12 months, the marketshare of Apple Mac OS X powered computers increased from 6.38% in Feb 2007 to 7.57% in Jan 2008 &#8211; a growth rate of about 19%. This great news for the Mac community [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.codedifferent.com/wp-content/uploads/2008/02/mac-iphone-marketshare-08en.gif' alt='mac and iphone marketshare 2008 Feb 09' /><br />
It&#8217;s quite interesting to go into the browser / OS marketshare statistics <a href="http://marketshare.hitslink.com/report.aspx?qprid=9">Net Applications</a> is gathering.<br />
Within the last 12 months, the marketshare of Apple Mac OS X powered computers increased from 6.38% in Feb 2007 to 7.57% in Jan 2008 &#8211; a growth rate of about 19%. This great news for the Mac community &#8211; but what&#8217;s really surprising is the significant marketshare of iPhone surfers in the last month. The iPhone was introduced to the US market on June 29th 2007 &#8211; and in Jan 2008 it&#8217;s internet surfer worldwide market share is 0.13% according to the Net Applications. Focussing only on the US market it&#8217;s share is even higher at 0.20%!<br />
It looks like the iPhone really fuels the use of mobile internet. </p>
<p>Source: <a href="http://marketshare.hitslink.com/report.aspx?qprid=9">Net Applications</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedifferent.com/2008/02/09/mac-and-iphone-browser-marketshare-are-growing-fast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

