<?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>nick has a blog! &#187; ubuntu</title>
	<atom:link href="http://www.nickpeters.net/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nickpeters.net</link>
	<description></description>
	<lastBuildDate>Thu, 16 Dec 2010 07:07:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Fix for &#8220;uninitialized constant Gem::GemRunner (NameError)&#8221;</title>
		<link>http://www.nickpeters.net/2007/12/31/fix-for-uninitialized-constant-gemgemrunner-nameerror/</link>
		<comments>http://www.nickpeters.net/2007/12/31/fix-for-uninitialized-constant-gemgemrunner-nameerror/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 20:43:08 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[fix]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.nickpeters.net/2007/12/31/fix-for-uninitialized-constant-gemgemrunner-nameerror/</guid>
		<description><![CDATA[I tried upgrading my version of rubygems to the most current version by running sudo gem update --system Which introduced this error: /usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError) whenever I tried to run rubygems. On the rails forum, I found a fix for it! Simply add the line to the file /usr/bin/gem (may be different on a [...]]]></description>
			<content:encoded><![CDATA[<p>I tried upgrading my version of rubygems to the most current version by running<br />
<code>sudo gem update --system</code><br />
Which introduced this error:<br />
<code>/usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError)</code><br />
whenever I tried to run rubygems.  On the <a href="http://railsforum.com/" target="_blank">rails forum</a>, I found <a href="http://railsforum.com/viewtopic.php?pid=48963">a fix for it!</a><br />
Simply add the line to the file /usr/bin/gem (may be different on a mac)<br />
<code>require 'rubygems/gem_runner'</code><br />
after<br />
<code>require 'rubygems'</code><br />
This fixed the issue in both Ubuntu and OS 10.4.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nickpeters.net/2007/12/31/fix-for-uninitialized-constant-gemgemrunner-nameerror/feed/</wfw:commentRss>
		<slash:comments>100</slash:comments>
		</item>
		<item>
		<title>Wireless Issues on Gutsy Gibbon (and a fix!)</title>
		<link>http://www.nickpeters.net/2007/10/17/wireless-issues-on-gutsy-gibbon-and-a-fix/</link>
		<comments>http://www.nickpeters.net/2007/10/17/wireless-issues-on-gutsy-gibbon-and-a-fix/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 05:41:26 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.nickpeters.net/2007/10/17/wireless-issues-on-gutsy-gibbon-and-a-fix/</guid>
		<description><![CDATA[I couldn&#8217;t wait and installed the latest RC of Gutsy Gibbon today. To my surprise the wireless did not work whatsoever! ifconfig didn&#8217;t list my interface, but it showed up when I ran lspci. I decided to boot into an older kernel (2.6.20) and it showed up! It must&#8217;ve been some sort of module that [...]]]></description>
			<content:encoded><![CDATA[<p>I couldn&#8217;t wait and installed the latest RC of Gutsy Gibbon today.  To my surprise the wireless did not work whatsoever!  ifconfig didn&#8217;t list my interface, but it showed up when I ran lspci.  I decided to boot into an older kernel (2.6.20) and it showed up!  It must&#8217;ve been some sort of module that wasn&#8217;t loading in the 2.6.22 kernel.  After doing some research I found out that this particular version of the kernel wasn&#8217;t loading restricted modules.  If you&#8217;re having problems using devices that used to work in in Feisty Fawn try running this command:<br />
<code>sudo apt-get install linux-restricted-modules</code><br />
After running this command my wireless drivers work (ipw2200bg) on my Dell Inspiron 9300.<br />
I&#8217;m still trying to figure out how to get my screen resolution back to normal (It&#8217;s at 1680&#215;1050 when it should be at 1920&#215;1200).  The moral of the story is to wait for everyone else to find the bugs before you make an upgrade!<br />
Edit:<br />
I fixed my display issue.  Here&#8217;s a snippet of my xorg.conf file.  Don&#8217;t simply copy and paste it, but use it as a reference to get yours to work<br />
<code>Section "Monitor"<br />
Identifier "monitor1"<br />
VendorName "Unknown"<br />
ModelName "Unknown"<br />
HorizSync 30.0 - 110.0<br />
VertRefresh 50.0 - 150.0<br />
Option "DPMS"<br />
EndSection</p>
<p>Section "Device"<br />
    Identifier     "Generic Video Card"<br />
    Driver         "nvidia"<br />
    BoardName      "nv"<br />
    BusID          "PCI:1:0:0"<br />
    Screen          1<br />
EndSection</p>
<p>Section "Device"<br />
 #<br />
    Identifier     "device1"<br />
    Driver         "nvidia"<br />
    BoardName      "nv"<br />
    BusID          "PCI:1:0:0"<br />
    Screen          0<br />
EndSection</p>
<p>Section "Screen"<br />
Identifier "screen1"<br />
Device "device1"<br />
Monitor "monitor1"<br />
DefaultDepth 24<br />
SubSection "Display"<br />
Depth 24<br />
Modes "1920x1200" "1440x900"<br />
EndSubSection<br />
EndSection</code><br />
Afterwards I used System->Preferences->Screen Resolution to change the resolution and it works beautifully.<br />
I recommend you make a backup of your xorg.conf file.  Who knows when you might mess with it and everything goes wrong.  It&#8217;s nice to have that backup in case things take a turn for the worse.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nickpeters.net/2007/10/17/wireless-issues-on-gutsy-gibbon-and-a-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

