<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7801147</id><updated>2011-04-21T15:32:51.625-04:00</updated><title type='text'>mopyblue</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mopyblue.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7801147/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mopyblue.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>mopy</name><uri>http://www.blogger.com/profile/01113076267366366839</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7801147.post-2672446747565466763</id><published>2007-06-12T13:33:00.000-04:00</published><updated>2007-06-22T16:57:36.021-04:00</updated><title type='text'>Site moved</title><content type='html'>I'm launching the blog on my own server, please see&lt;a href="http://pleasantlyblue.net/wp"&gt;&lt;/a&gt; &lt;a href="http://mopethis.wordpress.com/"&gt;mopethis.wordpress.com&lt;/a&gt; for new entries.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7801147-2672446747565466763?l=mopyblue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7801147/posts/default/2672446747565466763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7801147/posts/default/2672446747565466763'/><link rel='alternate' type='text/html' href='http://mopyblue.blogspot.com/2007/06/site-moved.html' title='Site moved'/><author><name>mopy</name><uri>http://www.blogger.com/profile/01113076267366366839</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7801147.post-114420684890255711</id><published>2006-04-04T23:00:00.000-04:00</published><updated>2007-03-28T15:14:58.050-04:00</updated><title type='text'>Ruby on Rail FC4</title><content type='html'>So I decided to give Ruby on Rails a spin. By following the instruction from the web site, I got the server (webrick) running pretty fast. However, I was unable to follow the tutorial to create the sample script. After much wrangling, I finally figured out that there are quite a few things left out by the installation howto:&lt;br /&gt;&lt;br /&gt;1. make sure you have all the packages through yum:&lt;br /&gt;&lt;pre&gt;    yum install mysql-devel irb rdoc ruby-devel ruby-mysql gcc&lt;/pre&gt;2. also make sure to install mysql ruby gem&lt;br /&gt;&lt;pre&gt;    sudo gem install mysql&lt;/pre&gt;3. it would give you the following errors:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;  ERROR:  While executing gem ... (RuntimeError)&lt;br /&gt; ERROR: Failed to build gem native extension.&lt;br /&gt; Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.&lt;br /&gt; ruby extconf.rb install mysql\nchecking for mysql_query() in -lmysqlclient... no&lt;br /&gt; checking for main() in -lm... yes&lt;br /&gt; checking for mysql_query() in -lmysqlclient... no&lt;br /&gt; checking for main() in -lz... yes&lt;br /&gt; checking for mysql_query() in -lmysqlclient... no&lt;br /&gt; checking for main() in -lsocket... no&lt;br /&gt; checking for mysql_query() in -lmysqlclient... no&lt;br /&gt; checking for main() in -lnsl... yes&lt;br /&gt; checking for mysql_query() in -lmysqlclient... no&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;4. goto the directory that it is trying to install from (look for the directory in the error message)&lt;br /&gt;&lt;pre&gt;    cd /usr/lib/ruby/gems/1.8/gems/mysql-2.7&lt;br /&gt;  sudo ruby extconf.rb --with-mysql-lib=/usr/lib/mysql&lt;br /&gt;  sudo gem install mysql&lt;br /&gt;&lt;/pre&gt;5. Now the rest of the tutorial should work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7801147-114420684890255711?l=mopyblue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mopyblue.blogspot.com/feeds/114420684890255711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7801147&amp;postID=114420684890255711' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7801147/posts/default/114420684890255711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7801147/posts/default/114420684890255711'/><link rel='alternate' type='text/html' href='http://mopyblue.blogspot.com/2006/04/ruby-on-rail-fc4.html' title='Ruby on Rail FC4'/><author><name>mopy</name><uri>http://www.blogger.com/profile/01113076267366366839</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry></feed>
