<?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>SearchMarked.com &#187; Ruby on Rails</title>
	<atom:link href="http://www.searchmarked.com/category/ruby-on-rails/feed" rel="self" type="application/rss+xml" />
	<link>http://www.searchmarked.com</link>
	<description>I search, I bookmark, I write, You learn.</description>
	<lastBuildDate>Wed, 14 Oct 2009 12:56:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to work around the &#8220;no address associated with hostname.(SocketError)&#8221; when installing Rails</title>
		<link>http://www.searchmarked.com/ruby-on-rails/how-to-work-around-the-no-address-associated-with-hostnamesocketerror-when-installing-rails.php</link>
		<comments>http://www.searchmarked.com/ruby-on-rails/how-to-work-around-the-no-address-associated-with-hostnamesocketerror-when-installing-rails.php#comments</comments>
		<pubDate>Mon, 30 Jun 2008 22:12:46 +0000</pubDate>
		<dc:creator>hstagner</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.searchmarked.com/?p=69</guid>
		<description><![CDATA[Google Query: gem install rails no address associated with hostname.(SocketError)
I was trying to install Rails the other day at work and they had just finished implementing some &#8220;new improved&#8221; firewall security rules. Well needless to say, this broke my ability to install Rails. Although, I didn&#8217;t realize this at first. I kept getting the following [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to work around the &#8220;no address associated with hostname.(SocketError)&#8221; when installing Rails", url: "http://www.searchmarked.com/ruby-on-rails/how-to-work-around-the-no-address-associated-with-hostnamesocketerror-when-installing-rails.php" });</script>


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Google Query: gem install rails no address associated with hostname.(SocketError)</strong></p>
<p>I was trying to install Rails the other day at work and they had just finished implementing some &#8220;new improved&#8221; firewall security rules. Well needless to say, this broke my ability to install Rails. Although, I didn&#8217;t realize this at first. I kept getting the following error when I tried to install Rails:</p>
<p><code>ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)<br />
getaddrinfo: no address associated with hostname.(SocketError)</code></p>
<p>After some investigating, it turned out that some ports were being blocked on the firewall that did not allow me to install Ruby gems directly from the repository with the gem command. After some googling, I found the easiest solution at <a href="http://ashishkulkarni.blogspot.com/2006/07/installing-ruby-and-rails-framework.html" onclick="javascript:urchinTracker ('/outbound/article/ashishkulkarni.blogspot.com');">Ashish Kulkarni&#8217;s Blog</a>. Thanks Ashish!</p>
<p>Basically you do the following:</p>
<p>-<a href="http://rubyforge.vm.bytemark.co.uk/gems/" onclick="javascript:urchinTracker ('/outbound/article/rubyforge.vm.bytemark.co.uk');">Go to the rubyforge gems subdirectory</a> and download the following:</p>
<ol>
<li>activesupport</li>
<li>activerecord</li>
<li>actionwebservice</li>
<li>actionpack</li>
<li>actionmailer</li>
<li>rails</li>
</ol>
<p>-Now go to your command prompt and change to the directory where you downloaded the gems and execute the following:</p>
<ol>
<li>gem install activesupport</li>
<li>gem install activerecord</li>
<li>gem install actionwebservice</li>
<li>gem install actionpack</li>
<li>gem install actionmailer</li>
<li>gem install rails</li>
</ol>
<p>That&#8217;s it! Now when you are behind a pesky firewall and get this error, you can work around it! Happy Coding!</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Ruby+on+Rails" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');">Ruby on Rails</a>, <a href="http://technorati.com/tag/Ruby" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Ruby</a>, <a href="http://technorati.com/tag/Rails" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Rails</a>, <a href="http://technorati.com/tag/Coding" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Coding</a></p>
<p><a href="http://sharethis.com/item?&wp=2.8.6&amp;publisher=2b863fb9-6985-4119-9ea7-b8a518a3714e&amp;title=How+to+work+around+the+%26%238220%3Bno+address+associated+with+hostname.%28SocketError%29%26%238221%3B+when+installing+Rails&amp;url=http%3A%2F%2Fwww.searchmarked.com%2Fruby-on-rails%2Fhow-to-work-around-the-no-address-associated-with-hostnamesocketerror-when-installing-rails.php" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.searchmarked.com/ruby-on-rails/how-to-work-around-the-no-address-associated-with-hostnamesocketerror-when-installing-rails.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get past the `require&#8217;: no such file to load &#8212; mkmf (LoadError) when installing the &#8220;mysql&#8221; gem</title>
		<link>http://www.searchmarked.com/ubuntu/how-to-get-past-the-require-no-such-file-to-load-mkmf-loaderror-when-installing-the-mysql-gem.php</link>
		<comments>http://www.searchmarked.com/ubuntu/how-to-get-past-the-require-no-such-file-to-load-mkmf-loaderror-when-installing-the-mysql-gem.php#comments</comments>
		<pubDate>Mon, 17 Dec 2007 00:36:45 +0000</pubDate>
		<dc:creator>hstagner</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.searchmarked.com/uncategorized/how-to-get-past-the-require-no-such-file-to-load-mkmf-loaderror-when-installing-the-mysql-gem.php</guid>
		<description><![CDATA[Google Query: extconf.rb:1:in `require&#8217;: no such file to load &#8212; mkmf (LoadError)
After some of my readers tried my tutorial on &#8220;How to install ruby on rails in Ubuntu Gutsy Gibbon (7.10)&#8221; they ran into some trouble installing the &#8220;mysql&#8221; gem. I finally found the answer after some Googling at Mentalized.net. The summary is below.
&#8220;mkmf.rb&#8221; is [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to get past the `require&#8217;: no such file to load &#8212; mkmf (LoadError) when installing the &#8220;mysql&#8221; gem", url: "http://www.searchmarked.com/ubuntu/how-to-get-past-the-require-no-such-file-to-load-mkmf-loaderror-when-installing-the-mysql-gem.php" });</script>


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Google Query: extconf.rb:1:in `require&#8217;: no such file to load &#8212; mkmf (LoadError)</strong></p>
<p>After some of my readers tried my tutorial on &#8220;<a href="http://www.searchmarked.com/ubuntu/install-ruby-on-rails-in-ubuntu.php" >How to install ruby on rails in Ubuntu Gutsy Gibbon (7.10)</a>&#8221; they ran into some trouble installing the &#8220;mysql&#8221; gem. I finally found the answer after some Googling at <a href="http://mentalized.net/journal/2006/01/24/no_such_file_to_load_mkmf/" onclick="javascript:urchinTracker ('/outbound/article/mentalized.net');">Mentalized.net</a>. The summary is below.</p>
<p>&#8220;mkmf.rb&#8221; is part of the &#8220;ruby1.8-dev&#8221; package. Since I already had this package installed on my system, I was not experiencing the error. I <a href="http://www.searchmarked.com/ubuntu/how-to-install-the-free-vmware-server-in-ubuntu-gutsy-gibbon-710.php" >installed a fresh copy of Ubuntu Gutsy Gibbon (7.10) in VMware</a> and sure enough, I encountered the error when installing the &#8220;mysql&#8221; gem.</p>
<p>-You need to install the &#8220;ruby1.8-dev&#8221; package by typing the following in the Terminal:<br />
<code>sudo apt-get install ruby1.8-dev</code></p>
<p>-You should be able to go ahead and install the &#8220;mysql&#8221; gem now by typing the following in the Terminal:<br />
<code>sudo gem install mysql</code></p>
<p>I apologize if you were getting that error when you followed my <a href="http://www.searchmarked.com/ubuntu/install-ruby-on-rails-in-ubuntu.php" >previous tutorial</a>. The tutorial has been updated with this information. Happy Coding!</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Ubuntu" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');">Ubuntu</a>, <a href="http://technorati.com/tag/Ruby+on+Rails" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Ruby on Rails</a></p>
<p><a href="http://sharethis.com/item?&wp=2.8.6&amp;publisher=2b863fb9-6985-4119-9ea7-b8a518a3714e&amp;title=How+to+get+past+the+%60require%26%238217%3B%3A+no+such+file+to+load+%26%238212%3B+mkmf+%28LoadError%29+when+installing+the+%26%238220%3Bmysql%26%238221%3B+gem&amp;url=http%3A%2F%2Fwww.searchmarked.com%2Fubuntu%2Fhow-to-get-past-the-require-no-such-file-to-load-mkmf-loaderror-when-installing-the-mysql-gem.php" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.searchmarked.com/ubuntu/how-to-get-past-the-require-no-such-file-to-load-mkmf-loaderror-when-installing-the-mysql-gem.php/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to get past the &#8220;(Gem::Exception) SSL is not installed on this system&#8221; error when installing Ruby on Rails</title>
		<link>http://www.searchmarked.com/ubuntu/how-to-get-past-the-gemexception-ssl-is-not-installed-on-this-system-error-when-installing-ruby-on-rails.php</link>
		<comments>http://www.searchmarked.com/ubuntu/how-to-get-past-the-gemexception-ssl-is-not-installed-on-this-system-error-when-installing-ruby-on-rails.php#comments</comments>
		<pubDate>Tue, 11 Dec 2007 20:42:08 +0000</pubDate>
		<dc:creator>hstagner</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.searchmarked.com/ubuntu/how-to-get-past-the-gemexception-ssl-is-not-installed-on-this-system-error-when-installing-ruby-on-rails.php</guid>
		<description><![CDATA[Google Query: ERROR: while executing gem &#8230; (Gem::Exception)     SSL is not installed on this system
I received this error when I tried to install Ruby on Rails on another Ubuntu Gutsy Gibbon (7.10) system the other day. After some Google searching I finally found my answer at Nabble.com.
Basically, you have to install [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to get past the &#8220;(Gem::Exception) SSL is not installed on this system&#8221; error when installing Ruby on Rails", url: "http://www.searchmarked.com/ubuntu/how-to-get-past-the-gemexception-ssl-is-not-installed-on-this-system-error-when-installing-ruby-on-rails.php" });</script>


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Google Query: ERROR: while executing gem &#8230; (Gem::Exception)     SSL is not installed on this system</strong></p>
<p>I received this error when I tried to install Ruby on Rails on another Ubuntu Gutsy Gibbon (7.10) system the other day. After some Google searching I finally found my answer at <a href="http://www.nabble.com/Having-trouble-installing-rails---SSL-issues-to13892165.html" onclick="javascript:urchinTracker ('/outbound/article/www.nabble.com');">Nabble.com</a>.</p>
<p>Basically, you have to install &#8220;libopenssl-ruby&#8221; by typing the following in at the Terminal:<br />
<code>sudo apt-get install libopenssl-ruby</code></p>
<p>That&#8217;s it! You should be able to install Rails without that ssl error now.</p>
<p>I would also like to thank Reader, <strong>leondu</strong>, for pointing out that Ruby Gems is now at version 0.9.5. I have updated &#8220;<a href="http://www.searchmarked.com/ubuntu/install-ruby-on-rails-in-ubuntu.php" >How to Install ruby on rails on Ubuntu Gutsy Gibbon</a>&#8221; to reflect the changes and the above error.</p>
<p>Happy Coding!</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Ubuntu" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');">Ubuntu</a>, <a href="http://technorati.com/tag/Ruby+on+Rails" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Ruby on Rails</a>, <a href="http://technorati.com/tag/Programming" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Programming</a></p>
<p><a href="http://sharethis.com/item?&wp=2.8.6&amp;publisher=2b863fb9-6985-4119-9ea7-b8a518a3714e&amp;title=How+to+get+past+the+%26%238220%3B%28Gem%3A%3AException%29+SSL+is+not+installed+on+this+system%26%238221%3B+error+when+installing+Ruby+on+Rails&amp;url=http%3A%2F%2Fwww.searchmarked.com%2Fubuntu%2Fhow-to-get-past-the-gemexception-ssl-is-not-installed-on-this-system-error-when-installing-ruby-on-rails.php" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.searchmarked.com/ubuntu/how-to-get-past-the-gemexception-ssl-is-not-installed-on-this-system-error-when-installing-ruby-on-rails.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to create a MySQL database from the command-line client</title>
		<link>http://www.searchmarked.com/ruby-on-rails/how-to-create-a-mysql-database-from-the-command-line-client.php</link>
		<comments>http://www.searchmarked.com/ruby-on-rails/how-to-create-a-mysql-database-from-the-command-line-client.php#comments</comments>
		<pubDate>Mon, 10 Dec 2007 14:27:19 +0000</pubDate>
		<dc:creator>hstagner</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.searchmarked.com/ruby-on-rails/how-to-create-a-mysql-database-from-the-command-line-client.php</guid>
		<description><![CDATA[Google Query: create a mysql database from command line 
Since, I just started dabbling in Ruby on Rails, I need to also deal with database software. My database of choice so far has been MySQL. I know this seems obvious to seasoned database programmers, but I always forget how to create a database from the [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to create a MySQL database from the command-line client", url: "http://www.searchmarked.com/ruby-on-rails/how-to-create-a-mysql-database-from-the-command-line-client.php" });</script>


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Google Query: create a mysql database from command line </strong></p>
<p>Since, I just started dabbling in Ruby on Rails, I need to also deal with database software. My database of choice so far has been MySQL. I know this seems obvious to seasoned database programmers, but I always forget how to create a database from the command line MySQL client. This is probably because Ruby on Rails lets you manipulate the database through the Ruby language once the database is set up.</p>
<p>Thanks to <a href="http://snipplr.com/view/875/command-line-instructions-to-create-a-database-in-mysql/" onclick="javascript:urchinTracker ('/outbound/article/snipplr.com');">snipplr.com</a>, I found my answer. So, here it is as a reminder to myself. Hopefully, it will help some of you as well.</p>
<p>-Login to MySQL using the following command at the Terminal.<br />
<code>mysql -u ''adminusername'' -p</code></p>
<p>-Create the database and add privileges to a user by typing in the following at the &#8220;mysql&gt;&#8221; prompt.<br />
<code>mysql&gt; CREATE DATABASE ''databasename'';<br />
mysql&gt; GRANT ALL PRIVILEGES ON ''databasename''.* TO "''username''"@"''hostname''" -&gt; IDENTIFIED BY "''password''";<br />
mysql&gt; FLUSH PRIVILEGES;<br />
mysql&gt; EXIT</code></p>
<p>That&#8217;s it. Now I am reminded. Hopefully you are too.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/MySQL" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');">MySQL</a>, <a href="http://technorati.com/tag/Ruby+on+Rails" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Ruby on Rails</a>, <a href="http://technorati.com/tag/Programming" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Programming</a></p>
<p><a href="http://sharethis.com/item?&wp=2.8.6&amp;publisher=2b863fb9-6985-4119-9ea7-b8a518a3714e&amp;title=How+to+create+a+MySQL+database+from+the+command-line+client&amp;url=http%3A%2F%2Fwww.searchmarked.com%2Fruby-on-rails%2Fhow-to-create-a-mysql-database-from-the-command-line-client.php" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.searchmarked.com/ruby-on-rails/how-to-create-a-mysql-database-from-the-command-line-client.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get past the &#8220;Could not find rubygems-update (&gt; 0) in any repository&#8221; Error</title>
		<link>http://www.searchmarked.com/ubuntu/could-not-find-rubygems-update-0-in-any-repository.php</link>
		<comments>http://www.searchmarked.com/ubuntu/could-not-find-rubygems-update-0-in-any-repository.php#comments</comments>
		<pubDate>Sun, 02 Dec 2007 17:30:40 +0000</pubDate>
		<dc:creator>hstagner</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.searchmarked.com/uncategorized/could-not-find-rubygems-update-0-in-any-repository.php</guid>
		<description><![CDATA[Google Query: Could not find rubygems-update (&#62; 0) in any repository
While I was installing Ruby on Rails in Ubuntu Gutsy Gibbon (7.10), I ran into the above error when I ran the command to install Rails:
sudo gem install rails -y
On one of my Ubuntu machines, I was lucky enough to just run the command again [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to get past the &#8220;Could not find rubygems-update (&#62; 0) in any repository&#8221; Error", url: "http://www.searchmarked.com/ubuntu/could-not-find-rubygems-update-0-in-any-repository.php" });</script>


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Google Query: Could not find rubygems-update (&gt; 0) in any repository</strong></p>
<p>While I was installing Ruby on Rails in Ubuntu Gutsy Gibbon (7.10), I ran into the above error when I ran the command to install Rails:<br />
<code>sudo gem install rails -y</code></p>
<p>On one of my Ubuntu machines, I was lucky enough to just run the command again and get past the error. However, on another Ubuntu install, I could not get past this error.</p>
<p>I eventually found the answer to the problem at <a href="http://armyofevilrobots.com/node/418" onclick="javascript:urchinTracker ('/outbound/article/armyofevilrobots.com');">Army of Evil Robots</a>.</p>
<p>You need to take the following steps to delete the RubyGems Cache file:<br />
<code>gem env<br />
#which will give you something like this:<br />
RubyGems Environment:<br />
- VERSION: 0.9.2 (0.9.2)<br />
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8<br />
- GEM PATH:<br />
- /usr/lib/ruby/gems/1.8<br />
- REMOTE SOURCES:<br />
- http://gems.rubyforge.org</code><br />
Then&#8230;<br />
<code>rm -f /PATH/TO/GEM/PATH/FROM/ABOVE/source_cache</code></p>
<p>Then you may need to also do the following:<br />
-For Ruby Gems 0.8.x or lower<br />
<code>gem update --system</code></p>
<p>Or</p>
<p>-For Ruby Gems 0.9.0 or newer<br />
<code>gem update</code></p>
<p>After this you should be able to run:<br />
<code>gem install rails -y</code></p>
<p>Happy coding!</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Ubuntu" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');">Ubuntu</a>, <a href="http://technorati.com/tag/Gutsy+Gibbon" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Gutsy Gibbon</a>, <a href="http://technorati.com/tag/Ruby+On+Rails" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Ruby On Rails</a></p>
<p><a href="http://sharethis.com/item?&wp=2.8.6&amp;publisher=2b863fb9-6985-4119-9ea7-b8a518a3714e&amp;title=How+to+get+past+the+%26%238220%3BCould+not+find+rubygems-update+%28%26gt%3B+0%29+in+any+repository%26%238221%3B+Error&amp;url=http%3A%2F%2Fwww.searchmarked.com%2Fubuntu%2Fcould-not-find-rubygems-update-0-in-any-repository.php" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.searchmarked.com/ubuntu/could-not-find-rubygems-update-0-in-any-repository.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install ruby on rails on Ubuntu Gutsy Gibbon (7.10)</title>
		<link>http://www.searchmarked.com/ubuntu/install-ruby-on-rails-in-ubuntu.php</link>
		<comments>http://www.searchmarked.com/ubuntu/install-ruby-on-rails-in-ubuntu.php#comments</comments>
		<pubDate>Sat, 01 Dec 2007 22:33:22 +0000</pubDate>
		<dc:creator>hstagner</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.searchmarked.com/ubuntu/install-ruby-on-rails-in-ubuntu.php</guid>
		<description><![CDATA[

   var AdBrite_Title_Color = 'FFFFFF';
   var AdBrite_Text_Color = '000000';
   var AdBrite_Background_Color = '000000';
   var AdBrite_Border_Color = '2D8930';
   var AdBrite_URL_Color = '008000';


Your Ad Here

Google Query: Install Ruby on rails in Ubuntu
I recently did a fresh install of Ubuntu Gutsy Gibbon on my home pc.  I [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "How to install ruby on rails on Ubuntu Gutsy Gibbon (7.10)", url: "http://www.searchmarked.com/ubuntu/install-ruby-on-rails-in-ubuntu.php" });</script>


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div style="float: left;"><!-- Begin: AdBrite --><br />
<script type="text/javascript">
   var AdBrite_Title_Color = 'FFFFFF';
   var AdBrite_Text_Color = '000000';
   var AdBrite_Background_Color = '000000';
   var AdBrite_Border_Color = '2D8930';
   var AdBrite_URL_Color = '008000';
</script><br />
<script src="http://ads.adbrite.com/mb/text_group.php?sid=745476&#038;zs=3330305f323530" type="text/javascript"></script></p>
<div><a href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=745476&#038;afsid=1"target="_top"  style="font-weight:bold;font-family:Arial;font-size:13px;" onclick="javascript:urchinTracker ('/outbound/article/www.adbrite.com');">Your Ad Here</a></div>
<p><!-- End: AdBrite --></div>
<p><strong>Google Query: Install Ruby on rails in Ubuntu</strong></p>
<p>I recently did a fresh install of Ubuntu Gutsy Gibbon on my home pc.  I also dabble in Ruby on Rails programming.  In the past I had a setup involving Xampp for Linux and some convoluted add-on packages.  Not very friendly or scalable.  This time I decided to set things up the real way.</p>
<p>I finally found my answer in the <a href="https://help.ubuntu.com/community/RubyOnRails" onclick="javascript:urchinTracker ('/outbound/article/help.ubuntu.com');">Ubuntu Community Documentation</a>.  Thankfully, the process to get Ruby on Rails up and running on Ubuntu Gutsy Gibbon (7.10) is fairly simple.  The summary is listed below.</p>
<p>-Install Ruby with the following command<br />
<code>sudo apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri</code></p>
<p>-Install Ruby Gems via source so apt-get won&#8217;t complain about files being changed by gem update &#8211;system<br />
<code>wget http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz<br />
tar xzvf rubygems-1.0.1.tgz<br />
cd rubygems-01.0.1<br />
sudo ruby setup.rb<br />
sudo gem update --system</code></p>
<p>-Install Rails along with its dependencies<br />
<code>sudo gem install rails -y</code><br />
If you run into the following error while trying to install Rails: <strong>&#8220;(Gem::Exception) SSL is not installed on this system&#8221;</strong><br />
Install libopenssl-ruby by typing the following at the Terminal:<br />
<code>sudo apt-get install libopenssl-ruby</code></p>
<p>-Install mysql because Ruby on Rails is not much use without a database behind it<br />
<code>sudo apt-get install mysql-server</code></p>
<p>-Install the mysql gem to go along with mysql<br />
<code>sudo apt-get install libmysqlclient15-dev</code><br />
then<br />
<code>sudo gem install mysql</code><br />
If you get the following error when trying to install the mysql gem, you may need to install the &#8220;ruby1.8-dev&#8221; package:<br />
<strong>&#8220;extconf.rb:1:in `require&#8217;: no such file to load &#8212; mkmf (LoadError)&#8221;</strong><br />
Install the &#8220;ruby1.8-dev&#8221; package by typing the following at the Terminal:<br />
<code>sudo apt-get install ruby1.8-dev</code><br />
Then try the following again:<br />
<code>sudo gem install mysql</code></p>
<p>That&#8217;s it! You should be able to create a new Rails app and setup your database.yml file so Rails can work with your mysql database.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Ubuntu" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');">Ubuntu</a>, <a href="http://technorati.com/tag/Gutsy+Gibbon" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Gutsy Gibbon</a>, <a href="http://technorati.com/tag/Ruby+On+Rails" rel="tag" onclick="javascript:urchinTracker ('/outbound/article/technorati.com');"> Ruby On Rails</a></p>
<p><a href="http://sharethis.com/item?&wp=2.8.6&amp;publisher=2b863fb9-6985-4119-9ea7-b8a518a3714e&amp;title=How+to+install+ruby+on+rails+on+Ubuntu+Gutsy+Gibbon+%287.10%29&amp;url=http%3A%2F%2Fwww.searchmarked.com%2Fubuntu%2Finstall-ruby-on-rails-in-ubuntu.php" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.searchmarked.com/ubuntu/install-ruby-on-rails-in-ubuntu.php/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>
