<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>:!ruby response</title>
	<atom:link href="http://rubyresponse.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rubyresponse.wordpress.com</link>
	<description>hit the rails road</description>
	<lastBuildDate>Tue, 20 Sep 2011 17:32:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rubyresponse.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>:!ruby response</title>
		<link>http://rubyresponse.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rubyresponse.wordpress.com/osd.xml" title=":!ruby response" />
	<atom:link rel='hub' href='http://rubyresponse.wordpress.com/?pushpress=hub'/>
		<item>
		<title>rorBB will befriend Rails</title>
		<link>http://rubyresponse.wordpress.com/2006/08/02/rorbb-will-befriend-rails/</link>
		<comments>http://rubyresponse.wordpress.com/2006/08/02/rorbb-will-befriend-rails/#comments</comments>
		<pubDate>Wed, 02 Aug 2006 11:08:42 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[ware]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/08/02/rorbb-will-befriend-rails/</guid>
		<description><![CDATA[This new Rails forum looked gorgeous and yummy to taste, why not give them more time to monetizing their lucky stuff. Seems they are offering a job to round up folks to be involved. I don&#8217;t know and hope that will not out of date. Watch underlying job, code, and feel lucky. I kinda can&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=17&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://rorbb.com/" target="_blank">This new Rails forum</a> looked gorgeous and yummy to taste, why not give them more time to monetizing their lucky stuff. Seems they are offering a job to round up folks to be involved. I don&#8217;t know and hope that will not out of date. Watch <a href="http://railsforum.com/viewtopic.php?id=39" target="_blank">underlying job</a>, <a href="http://code.google.com/p/rorbb/" target="_blank">code</a>, and feel lucky. I kinda can&#8217;t wait to see their new site.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=17&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/08/02/rorbb-will-befriend-rails/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>
	</item>
		<item>
		<title>Streamlined generator for Rails</title>
		<link>http://rubyresponse.wordpress.com/2006/07/26/streamlined-generator-for-rails/</link>
		<comments>http://rubyresponse.wordpress.com/2006/07/26/streamlined-generator-for-rails/#comments</comments>
		<pubDate>Wed, 26 Jul 2006 13:15:23 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ware]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/07/26/streamlined-generator-for-rails/</guid>
		<description><![CDATA[A couple of days recently I took a trial to Sreamlined, a plugin to generate associated relationship between existing models in Rails. I think Rails folks will interest to this strange project and be curious to think how fancy it can be. In my case, it got me totally hooked: since streamlined, I can directly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=16&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A couple of days recently I took a trial to <a href="https://rubyresponse.wordpress.com/wp-admin/Streamlined%20generator%20for%20Rails" target="_blank">Sreamlined</a>, a plugin to generate associated relationship between existing models in Rails. I think Rails folks will interest to this strange project and be curious to think how fancy it can be. In my case, it got me totally hooked: since streamlined, I can directly get content and relationship of models by looking up database tables in streamlined view. Streamlined offers many corresponding methods in generating class to help you pick up which columns in relative tables you want to keep attention with. Add, select, modify, or delect data with such columns are certainly supplied.</p>
<p><a href="http://www.flickr.com/photos/zhenzhong/198782214/in/photostream"><img src="http://static.flickr.com/74/198782214_b888a32d67_m.jpg" height="104" width="240" /></a></p>
<p><a href="http://www.flickr.com/photos/zhenzhong/198782213/"><img src="http://static.flickr.com/74/198782213_dd575476f5_m.jpg" height="137" width="240" /></a></p>
<p>Their work give me a big help, thank you. But at the beginning, I say &#8216;generate associated relationship&#8217;, that means assuming I can get an overview of logic between my existing models after sweeping over my rails app, namely it can automatically detect all over logic of my project. Then bring me a rational chart or tree in view, or even I can directly modify my app&#8217;s logic in this tree. Yet streamlined doesn&#8217;t support my imagine.</p>
<p>Anyway, this out of alpha release is only 0.0.2. Expect they can add up more fancy to it.</p>
<p>Keep in mind that Streamlined is for existing models, if your tables or models doesn&#8217;t exist, it will generate an error:</p>
<pre><code>error  Before updating scaffolding from new DB schema, try creating a table for your model ()</code></pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=16&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/07/26/streamlined-generator-for-rails/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>

		<media:content url="http://static.flickr.com/74/198782214_b888a32d67_m.jpg" medium="image" />

		<media:content url="http://static.flickr.com/74/198782213_dd575476f5_m.jpg" medium="image" />
	</item>
		<item>
		<title>Can&#8217;t find mysqld.sock?</title>
		<link>http://rubyresponse.wordpress.com/2006/07/22/cant-find-mysqldsock/</link>
		<comments>http://rubyresponse.wordpress.com/2006/07/22/cant-find-mysqldsock/#comments</comments>
		<pubDate>Sat, 22 Jul 2006 09:17:34 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/07/22/cant-find-mysqldsock/</guid>
		<description><![CDATA[Over two days streamlined caught my attention. I tried it, got nothing but instead a lot of achings. That made various sorts of problems corrupting Rails. I&#8217;ll continue to be up with it and hope they can fix their bug lately in future. After all now my rest of Rails apps run well. I don&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=15&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Over two days <a href="http://streamlined.relevancellc.com" target="_blank">streamlined</a> caught my attention. I tried it, got nothing but instead a lot of achings. That made various sorts of problems corrupting Rails. I&#8217;ll continue to be up with it and hope they can fix their bug lately in future. After all now my rest of Rails apps run well.</p>
<p>I don&#8217;t scare of connecting problem since I think I really <a href="http://rubyresponse.wordpress.com/2006/05/13/resolve-my-first-rails-problem/" target="_blank">got it worked out</a> on me. But My Rails ultimately teased to me:<br />
<code></code></p>
<pre><code>Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
</code></pre>
<p>It can&#8217;t find out mysqld.sock though it perfectly run on early morning before I set up streamlined. So I edit /etc/my.cnf and change &#8216;socket&#8217; location in section to fix through this, but nothing happened. So I roughly</p>
<pre><code>sudo ln -s  /var/run/mysqld/mysqld.sock /tmp/mysql.sock
</code></pre>
<p>mysqld.sock in /var/run/mysqld/ shares 755 mood. Then everything is ok! What a silent world.</p>
<p>That&#8217;s all~</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=15&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/07/22/cant-find-mysqldsock/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>
	</item>
		<item>
		<title>How to use mod_fcgid to set up Rails app on Apache2</title>
		<link>http://rubyresponse.wordpress.com/2006/07/11/eventually-my-mod_fcgid-and-typo-work-fine-and-many-problems-to-be-resolved/</link>
		<comments>http://rubyresponse.wordpress.com/2006/07/11/eventually-my-mod_fcgid-and-typo-work-fine-and-many-problems-to-be-resolved/#comments</comments>
		<pubDate>Tue, 11 Jul 2006 13:09:13 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/07/11/eventually-my-mod_fcgid-and-typo-work-fine-and-many-problems-to-be-resolved/</guid>
		<description><![CDATA[Yesterday I tended to install mod_fcgid on my apache2, instead of mod_fastcgi or mod_ruby because of some insecure pipe problem with the laters. And To be pride and surprised, the author of mod_fcgid is Chinese people, but that doesn&#8217;t help me to come over the problems I face, so I need to handle them on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=13&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I tended to install <a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Ffastcgi.coremail.cn%2F&amp;ei=RKuzRPSuEomksALTt8zkCQ&amp;sig2=oH6kXRGYZMyN4Mw_svUD4g" target="_blank">mod_fcgid</a> on my apache2, instead of mod_fastcgi or mod_ruby because of some insecure pipe problem with the laters. And To be pride and surprised, the author of mod_fcgid is Chinese people, but that doesn&#8217;t help me to come over the problems I face, so I need to handle them on my own. I&#8217;d like to review what I encountered and am hoping to help other people who are humbled by this.</p>
<p>My machine deploy: Ubuntu dapper, apache 2.0.58, Ruby 1.8.4, Rails 1.1.4, (mod_fcgid 1.10, libtool, ruby1.8-dev)</p>
<p><strong>1.    Installing mod_fcgid</strong></p>
<p>Here is the problems ever, if you don&#8217;t want to read this, you can read the next paragraph which is correct steps.</p>
<p>Download mod_fcgid 1.10 and follow the INSTALL.txt step by step. There I ever had two problems. I folllowed by INSTALL.txt and it returned error no matter what I did. So I think I need to reinstall apache2 statically to load mod_fcgid module.  Follow INSTALL.txt and Line:</p>
<pre><code>
./configure --prefix=/usr/local/apache2 --enable-dav --enable-so
--enable--maintainer-mod --enable-shared=max --enable-module=most --enable-fcgid
</code></pre>
<p>then when adding</p>
<pre><code>LoadModule fcgid_module modules/mod_fcgid.so</code></pre>
<p>to my httpd.conf and restart my apache2, I got error,</p>
<pre><code>
Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
module fcgid_module is built-in and can't be loaded</code></pre>
<p>Note &#8216;&#8211;enable-fcgid&#8217;. That&#8217;s because I have already installed mod_fcgid statically, I can&#8217;t use LoadModule to load a static build-in module, get it? Because it is already statically installed in apache2, and LoadModule is used to load a dynamic module. That is the reason why it returned error. So I had to reinstalled apache2 by this below to dynamically load modules at latter day.</p>
<pre><code>
./configure --prefix=/usr/local/apache2 --enable-dav --enable-so
--enable--maintainer-mod --enable-shared=max --enable-module=most
</code></pre>
<p>Okay! Then needed to install mod_fcgid dynamically. Follow the INSTALL.txt file, I got an error again:</p>
<pre><code>dlname not found in apache2/modules/mod_fcgid.la.</code></pre>
<p>Yes, apache2 failed to build the mod_fcgid.so and it was not in apache2/modules directory. That problem is because of the version of libtool in apache2/build. After I update my libtool by</p>
<pre><code>sudo apt-get install libtool</code></pre>
<p>I still had same error. Oh I forgot although I installed libtool, but I needed to do this</p>
<pre><code>sudo cp /usr/bin/libtool /usr/local/apache2/build</code></pre>
<p>to override previous libtool in apache2.</p>
<p>Ok, this time we can reinstall mod_fcgid again by steps in INSTALL.txt and it can be correctly installed.</p>
<p><strong>2.    Using gem to install fcgi</strong></p>
<p>Next we need to install fcgi by type:</p>
<pre><code>sudo gem install fcgi</code></pre>
<p>But the annoying error appeared again. Said:</p>
<pre><code>ERROR:  While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.3.6 for inspection.
ruby extconf.rb install libxml-ruby
</code></pre>
<p>That indicated me to install &#8216;ruby-devel&#8217; package, named ruby1.8-dev, so type:</p>
<pre><code>sudo apt-get install ruby1.8-dev
sudo gem install fcgi
</code></pre>
<p>Well, problem was resolved, again.</p>
<p><strong>3.    Setting up Rails app, such as typo</strong></p>
<p>Set up your Rails app by refering <a href="http://wiki.rubyonrails.com/rails/pages/FastCGI" target="_blank">this page</a>, and add this code below in your httpd.conf (warsaw is localhost name)</p>
<pre><code>
LoadModule fcgid_module     modules/mod_fcgid.so

&lt;VirtualHost *:80&gt;
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot /home/alex/httpd
    ServerName warsaw
    ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common

redirectMatch ^warsaw/blog$ http://warsaw/blog/
    redirectMatch ^warsaw/radiant$ http://warsaw/radiant/
    #redirectMatch ^/$ http://warsaw/blog

Alias /blog "/home/alex/httpd/typo/public/"
    Alias /radiant "/home/alex/httpd/radiant/public/"

&lt;Directory "/home/alex/httpd/typo/public"&gt;
        Options All ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
        AddHandler fcgid-script .fcgi
        RewriteBase /blog
    &lt;/Directory&gt;

&lt;Directory "/home/alex/httpd/radiant/public"&gt;
        Options All ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
        AddHandler fcgid-script .fcgi
        RewriteBase /radiant
    &lt;/Directory&gt;

&lt;Location /blog&gt;
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
    &lt;/Location&gt;

&lt;Location /radiant&gt;
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
    &lt;/Location&gt;
&lt;/VirtualHost&gt;
</code></pre>
<p>Notice that you should change the &#8216;.htaccess&#8217; file name to &#8216;htaccess&#8217; in app&#8217;s public/ directory. If doesn&#8217;t, it will appear disgusting error again.</p>
<p>Reference:[<a href="http://folkwolf.net/blog/pages/installation" target="_blank">Integrating typo</a>,<a href="http://journal.paul.querna.org/articles/2006/01/01/using-mod_fcgid-for-ruby-on-rails-applications" target="_blank"> Using mod_fcgid for Ruby on Rails Applications</a>, <a href="http://www.rubyrailways.com/ruby-on-rails-and-ubuntu/" target="_blank">Ruby on Rails and Ubuntu,</a> <a href="http://www.dev411.com/wiki/Installing_Typo:_MySQL,_Apache,_lighttpd_and_FastCGI#mod_fcgid" target="_blank">Installing Typo</a>]</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=13&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/07/11/eventually-my-mod_fcgid-and-typo-work-fine-and-many-problems-to-be-resolved/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>
	</item>
		<item>
		<title>Radiant 0.5 release</title>
		<link>http://rubyresponse.wordpress.com/2006/06/30/radiant-05-release/</link>
		<comments>http://rubyresponse.wordpress.com/2006/06/30/radiant-05-release/#comments</comments>
		<pubDate>Fri, 30 Jun 2006 12:02:05 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/06/30/radiant-05-release/</guid>
		<description><![CDATA[I ever mentioned John W. Long&#8216;s Radiant, a simplified and elegant CMS on my previous post before a few month. Now I really have to give him a thumb-up. John fulfilled and whip up his outstanding project into Version 0.5. Radiant is a really simple, chic, and usable Rails CMS app. As its author said, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=12&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I ever mentioned <a href="http://wiseheartdesign.com/" target="_blank">John W. Long</a>&#8216;s <a href="http://radiantcms.org" target="_blank">Radiant</a>, a simplified and elegant CMS on my <a href="https://rubyresponse.wordpress.com/2006/05/13/resolve-my-first-rails-problem/" target="_blank">previous post </a>before a few month. Now I really have to give him a thumb-up. John fulfilled and whip up his outstanding project into Version 0.5. Radiant is a really simple, chic, and usable Rails CMS app. As its author said, it is for small team member communicating their data and thoughts, but rather than a blog engine. I think his bang-up job is a practical way for novices to learn Rails app and the app&#8217;s core worthy to attend is <a href="http://radius.rubyforge.org/" target="_blank">Radius</a>, a tag-based template which pouring all the magic into this alittle CMS.</p>
<p>One hour before, I installed Radiant, which is really neat and beautiful gadget. The premise before you dancing with her is make sure that you have installed ruby, rails, ri, irb. Of course.</p>
<p>When setting up Radiant, if you have 404 error, type:</p>
<pre><code>sudo chmod -R 755 radiant</code></pre>
<p>If your brower says it can&#8217;t find table &#8216;config&#8217; in production database in mysql, type:</p>
<pre><code>script/setup_database development</code></pre>
<p>and</p>
<pre><code>script/server development</code></pre>
<p>That is a bit different with its README document, because you are now in developer mood. I am not sure whether needing to add</p>
<pre><code>host: localhost</code></pre>
<p>in respective section in &#8216;database.yml&#8217;.</p>
<p>Now give it a glimpse.</p>
<p><a href="http://www.flickr.com/photos/77257046@N00/178330459/" target="_blank"><img src="http://static.flickr.com/59/178330459_a5a33fe70d_m.jpg" height="134" width="240" /></a></p>
<p><a href="http://www.flickr.com/photos/zhenzhong/178330458/" target="_blank"><img src="http://static.flickr.com/63/178330458_5262fef25d_m.jpg" /></a></p>
<p><em>Update</em>: I <a href="https://rubyresponse.wordpress.com/2006/07/11/eventually-my-mod_fcgid-and-typo-work-fine-and-many-problems-to-be-resolved/" target="_blank">successfully set up</a> FastCGI on my apache2 before a couple of days, and I got a error of some thing like</p>
<pre>Errno::EACCES: Permission denied -</pre>
<p>in radiant/cache folder during running radiant on apache2 at frist time. Then chmod -R 777 cache in the root folder, and all that will be smoothly coast into right place.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=12&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/06/30/radiant-05-release/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>

		<media:content url="http://static.flickr.com/59/178330459_a5a33fe70d_m.jpg" medium="image" />

		<media:content url="http://static.flickr.com/63/178330458_5262fef25d_m.jpg" medium="image" />
	</item>
		<item>
		<title>Harsh times!</title>
		<link>http://rubyresponse.wordpress.com/2006/06/14/harsh-times/</link>
		<comments>http://rubyresponse.wordpress.com/2006/06/14/harsh-times/#comments</comments>
		<pubDate>Wed, 14 Jun 2006 06:31:19 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[think]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/06/14/harsh-times/</guid>
		<description><![CDATA[A little too occupied for me to maintain two blogs at the same time. Yesterday my other personal blog, Upstairs, Downstairs debuted. I tend to write some kind of my inner thoughts at that intimate nest. If so, I might have no plenty times to update this blog. Learning takes times, thinking takes times, writing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=11&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A little too occupied for me to maintain two blogs at the same time. Yesterday my other personal blog, <a href="http://zhenzhong.wordpress.com" target="_blank">Upstairs, Downstairs</a> debuted. I tend to write some kind of my inner thoughts at that intimate nest. If so, I might have no plenty times to update this blog. Learning takes times, thinking takes times, writing takes times as well. Posting one entry that contains 200 literals is more likely to cost me 10 minute, needless to say the constant suffering under web proxy during transport. But combination of two blog sharing two radically different themes is even more ridiculous, and I don&#39;t like to mash them up.</p>
<p>Anyway, wasting time equals guilty. Harsh circumstance.</p>
<p>Am I  getting a frigging nuts? I am terriblely nervous.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=11&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/06/14/harsh-times/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>
	</item>
		<item>
		<title>Hey! Bitter-sweet Newsvine.</title>
		<link>http://rubyresponse.wordpress.com/2006/06/01/hey-bitter-sweet-newsvine/</link>
		<comments>http://rubyresponse.wordpress.com/2006/06/01/hey-bitter-sweet-newsvine/#comments</comments>
		<pubDate>Thu, 01 Jun 2006 15:02:25 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/06/01/hey-bitter-sweet-newsvine/</guid>
		<description><![CDATA[Half year previously I received my first Newsvine invite from a passionate foreign folk when I drop in his site( found in ma.ganolia) . But after a short pleasant surprise, I constantly had felt Newsvine sucks to be itself. They boosted that they will be a new overwhelming digg or slashdot by the user-contributed-info features. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=10&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Half year previously I received my first Newsvine invite from a passionate foreign folk when I drop in <a href="http://ryanpc.com/">his site</a>( found in <a href="http://ma.gnolia.com">ma.ganolia</a>)<br />
. But after a short pleasant surprise, I constantly had felt Newsvine sucks to be itself. They boosted that they will be a new overwhelming digg or slashdot by the user-contributed-info features. I didn&#8217;t perceive any real validity for me. Because I note most of news are posted by people who hired in A.P. or other big press and few people contributes news themself. I can get wrapped in &#8216;NewYork Times&#8217; and &#8216;Business Week&#8217; , etc. Newsvine versus NewYork Times. I can&#8217;t feature them by content really. Why do I still choose to dive into Newsvine&#8217;s sphere.</p>
<p>But just now I change my opinion a bit.  What a intriguing interface, damn!</p>
<p><a href="http://zzw.newsvine.com/" target="_blank"><img src="http://static.flickr.com/73/180587542_0b314fd0d2_m.jpg" /></a></p>
<p>I don&#8217;t know when Newsvine somehow creeps in this fancy. It&#8217;s nearly being like a awesome CMS.</p>
<p>Watch out the right corner beside the portrait. That point out your &#8216;Vineacity&#8217; of current state. Hopefully I can flesh out some branches on my obsolete trunk, if I am not in pretty occupy:wink:.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=10&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/06/01/hey-bitter-sweet-newsvine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>

		<media:content url="http://static.flickr.com/73/180587542_0b314fd0d2_m.jpg" medium="image" />
	</item>
		<item>
		<title>Blogging is simple and complex</title>
		<link>http://rubyresponse.wordpress.com/2006/05/17/8/</link>
		<comments>http://rubyresponse.wordpress.com/2006/05/17/8/#comments</comments>
		<pubDate>Wed, 17 May 2006 10:14:26 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[life]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/05/17/8/</guid>
		<description><![CDATA[Was a sensitive man living in a harsh realistic world, I am always hung on some situation that like how can I tweak my things to be satisfied by myself, and, to be a man owning a pessimistic inner, when past days and trustworthy people looked even further and further, I just despointed again and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=8&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.flickr.com/53/119236398_24f538740d_m.jpg" align="middle" height="192" width="240" /></p>
<p>Was a sensitive man living in a harsh realistic world, I am always hung on some situation that like how can I tweak my things to be satisfied by myself, and, to be a man owning a pessimistic inner, when past days and trustworthy people looked even further and further, I just despointed again and again. Some times I want to grasp any inspiration around and jot down my feelings, I will finger out that how can I discribe all of it to be better off, or some times I ridiculously conceived the article&#8217;s themes, phrase, and bear bones, or which next sentense should I say. Seriously more than a columnist.</p>
<p>But blogging SHOULD NOT be that. Get rid of all the fuckups that we all worry about, man. JUST SCRIBBLE. Follow your mind, flow with it, drift away. Blog is not technique manual. I write this blog only for two reason&#8212;-self improving and, the one I have to admit that perhaps my employer wil ask if I have a technique blog when I ask a job. My answer is I have a english blog, and maybe my bonehead boss tell me you don&#8217;t fit into the job. Because he consider this dude has ambitions.</p>
<p>So, blog can bring me nothing. Blogging is natural, is sensual, is humanity,  just like sex. you don&#8217;t ponder why people make it. Aside: for mate. Oh Yeah, excellent!  Ya know you&#8217;re cheating. You will not think that why people make love, or which of the next postures as they do.</p>
<p>And  I &#8216;d like to emphasize that we couldn&#8217;t expect each our post is a stunning and fascinating job, as well as that lovely folks who make that thing couldn&#8217;t get satisfied each times;)</p>
<p>Any Opinion?</p>
<p><a href="http://www.flickr.com/photos/factoryjoe/119236398/in/set-72057594092578649/"><span style="font-size:0.9em;margin-top:0;">Photo originally uploaded by </span></a><a href="http://www.flickr.com/people/factoryjoe/">factoryjoe</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=8&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/05/17/8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>

		<media:content url="http://static.flickr.com/53/119236398_24f538740d_m.jpg" medium="image" />
	</item>
		<item>
		<title>Google Co-op Identification</title>
		<link>http://rubyresponse.wordpress.com/2006/05/15/google-co-op-identification/</link>
		<comments>http://rubyresponse.wordpress.com/2006/05/15/google-co-op-identification/#comments</comments>
		<pubDate>Mon, 15 May 2006 16:41:00 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/05/15/google-co-op-identification/</guid>
		<description><![CDATA[Welcome to my Google Co-op site and subscribe it.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=6&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to my Google Co-op site and <a href="http://www.google.com/coop/profile?user=001661861707979489592">subscribe it</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=6&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/05/15/google-co-op-identification/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>
	</item>
		<item>
		<title>Resolve mysql.sock connecting problems on Rails</title>
		<link>http://rubyresponse.wordpress.com/2006/05/13/resolve-my-first-rails-problem/</link>
		<comments>http://rubyresponse.wordpress.com/2006/05/13/resolve-my-first-rails-problem/#comments</comments>
		<pubDate>Sat, 13 May 2006 12:40:59 +0000</pubDate>
		<dc:creator>Zhenzhong Wang</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">https://rubyresponse.wordpress.com/2006/05/13/resolve-my-first-rails-problem/</guid>
		<description><![CDATA[I handled it, and I am hoping my experience could be helping you. My machine deployment: MySQL5.1.6a, ruby1.8.4, rails1.1.2. Update: type to make true you can correctly connect database by using username and password mysql depot_development &#60;db/create.sql -p , If return error, continue to read. Several minutes earlier I tumbled at my first Rails problem, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=3&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I handled it, and I am hoping my experience could be helping you. My machine deployment:  MySQL5.1.6a, ruby1.8.4, rails1.1.2.</p>
<p>Update: type to make true you can correctly connect database by using username and password</p>
<blockquote>
<pre><code>mysql depot_development &lt;db/create.sql -p
</code></pre>
</blockquote>
<p>, If return error, continue to read.</p>
<p>Several minutes earlier I tumbled at my first Rails problem, when Rails was trying to connect MySQL database, it sucks. The shell prompt appears an error:</p>
<blockquote>
<pre><code>#28000Access denied for user 'root'@'localhost' (using password: NO)</code></pre>
</blockquote>
<p>That means the Rails application can not connect my MySQL correctly, but why? Firstly I checked my configure file in config/database.yml, as the following:</p>
<blockquote>
<pre><code>development:
  adapter: mysql
  database: depot_development
  username:              #Note this
  password:
  host: localhost

test:
  adapter: mysql
  database: depot_test
  username:              #Note this
  password:
  host: localhost

production:
  adapter: mysql
  database: depot_production
  username: prod
  password: wibble
  host: localhost
</code></pre>
</blockquote>
<p>I think my config file was right, and googled this error on web. It seems that the same problem is bothering mamy people who rock with Ruby on Rails. After skim over several sites I can search, all of them still can&#8217;t help me out to handle the mess. Some one suggest that it might be your MySQL setup version needed to upgrade, and others assist to type</p>
<blockquote>
<pre><code>ruby script/server environment=development</code></pre>
</blockquote>
<p>. I did it, but received same error.</p>
<p>Ermmmmmm, a little frustration&#8230;..eh? but back to the book <a href="http://www.pragmaticprogrammer.com/title/rails/" target="_blank">Agile Web Development with Rails</a>(1st edition), and preusing at page 52. I think the author describes this problem explicitly, yet many Rails forks who have same error didn&#8217;t get his point perfectly well.  After creating a database in MySQL, you may assign such corresponding grant to users. Like:</p>
<blockquote>
<pre><code>
mysql&gt; create database depot_development;
mysql&gt; create database depot_test;
mysql&gt; create database depot_production;
mysql&gt; grant all on depot_development.* to 'dave'@'localhost';
mysql&gt; grant all on depot_test.* to 'dave'@'localhost';
mysql&gt; grant all on depot_production.* to 'prod'@'localhost' identified by 'wibble';
mysql&gt; exit</code><em><code>
</code></em></pre>
</blockquote>
<p>In config/database.yml, if you want any developer can access your database by conviention, you will left the username field blank, and find sth like this:</p>
<blockquote>
<pre><code>development:
  adapter: mysql
  database: depot_development
  username:              #blank
  password:
  host: localhost

test:
  adapter: mysql
  database: depot_test
  username:              #blank
  password:
  host: localhost

production:
  adapter: mysql
  database: depot_production
  username: prod
  password: wibble
  host: localhost</code></pre>
</blockquote>
<p>and that will cause error.  Because when Rails connecting MySQL, it find the user name and password in conf/database.yml, if you left blank in username and password field, Rails will use root authority to connect database, but it can&#8217;t find what is the root password, then prompt error. That&#8217;s why it sucks rather than what MySQL version is, and you get:</p>
<blockquote>
<pre><code>#28000Access denied for user 'root'@'localhost' (using password: NO)</code></pre>
</blockquote>
<p>You must specify the correct username and password that should be the same ones when creating relevant database. Such as:</p>
<blockquote>
<pre><code>development:
  adapter: mysql
  database: depot_development
  username: dave	#dave has no password in his database
  password:
  host: localhost

test:
  adapter: mysql
  database: depot_test
  username: dave	#dave has no password in his database
  password:
  host: localhost

production:
  adapter: mysql
  database: depot_production
  username: prod	#prod has password in his database
  password: wibble	#which is 'wibble'
  host: localhost
</code></pre>
</blockquote>
<p>Refresh your browser, and you see&#8230;..?  Cheers.</p>
<p><em>Important Update</em>:</p>
<p>I strongly recommend that same individual must hold the same username and corresponding password in your different app&#8217;s config/database.yml for true, no matter which of databases in mysql you used in various app by the same user.</p>
<p>For instance, I am alex and I really am ^^). I have two Rails app, depot and <a href="http://radiantcms.org/" target="_blank">radiant</a>(a simple CMS, I take a trial just now). If both depot and radiant use &#8216;alex&#8217; as a mysql connect username, I must specify same user name and same password in the two database.yml, otherwise one of these app will get confused and restrained as connecting mysql, even the two app will implement their respective databases, because they all use &#8216;alex&#8217; to connect mysql. So &#8216;alex&#8217; needs same database password in different Rails app.</p>
<p><span id="more-3"></span></p>
<p>If you installed Rails before installed MySql, Rails database driver cannot find your database. You should reinstall Rails or other choice, add MySql socket location to respective section in &#8216;database.yml&#8217;, such as</p>
<blockquote>
<pre><code>socket: /var/lib/mysql/mysql.sock
</code></pre>
</blockquote>
<p>Or, prompt saying:</p>
<pre><code>Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
</code></pre>
<p>to solve this sort of error, check it out my <a href="http://rubyresponse.wordpress.com/2006/07/22/cant-find-mysqldsock/" target="_blank">recent post</a> on it.</p>
<p>If your problem to be worked out after reading my post or still have any connecting problem, I wish you can leave your comment here. Lemme know and welcome <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rubyresponse.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rubyresponse.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rubyresponse.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rubyresponse.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rubyresponse.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rubyresponse.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rubyresponse.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rubyresponse.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rubyresponse.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rubyresponse.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rubyresponse.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rubyresponse.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rubyresponse.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rubyresponse.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rubyresponse.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rubyresponse.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rubyresponse.wordpress.com&amp;blog=222695&amp;post=3&amp;subd=rubyresponse&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rubyresponse.wordpress.com/2006/05/13/resolve-my-first-rails-problem/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd8a98262adb08dce649e898a30b94dd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenzhong</media:title>
		</media:content>
	</item>
	</channel>
</rss>
