<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Ruby on Rails, Apache, FastCGI and Ensim</title>
	<atom:link href="http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/</link>
	<description></description>
	<pubDate>Thu, 20 Nov 2008 20:19:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Chris</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-15601</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 23 Oct 2007 07:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-15601</guid>
		<description>I've gone through these instructions on a Red Hat/Ensim Pro box and everything looks to have installed correctly, but I'm getting a 500 error page when I switch to despatch.fcgi and I don't thing that FastCGI is working properly. Don't really know where to start looking for the problem ... any help appreciated.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve gone through these instructions on a Red Hat/Ensim Pro box and everything looks to have installed correctly, but I&#8217;m getting a 500 error page when I switch to despatch.fcgi and I don&#8217;t thing that FastCGI is working properly. Don&#8217;t really know where to start looking for the problem &#8230; any help appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-7736</link>
		<dc:creator>Felix</dc:creator>
		<pubDate>Sat, 21 Oct 2006 14:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-7736</guid>
		<description>What a great installation record! 
Thanks a lot!</description>
		<content:encoded><![CDATA[<p>What a great installation record!<br />
Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun Vijayan</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3687</link>
		<dc:creator>Arun Vijayan</dc:creator>
		<pubDate>Sun, 27 Nov 2005 13:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3687</guid>
		<description>I also had the rdoc/rdoc problem in FC4 while installing rails with gem

gem install rails
Attempting local installation of 'rails'
Local gem file not found: rails*.gem
Attempting remote installation of 'rails'
Install required dependency rake? [Yn]  y
Install required dependency activesupport? [Yn]  y
Install required dependency activerecord? [Yn]  y
Install required dependency actionpack? [Yn]  y
Install required dependency actionmailer? [Yn]  y
Install required dependency actionwebservice? [Yn]  y
Successfully installed rails-0.14.3
Successfully installed rake-0.6.2
Successfully installed activesupport-1.2.3
Successfully installed activerecord-1.13.0
Successfully installed actionpack-1.11.0
Successfully installed actionmailer-1.1.3
Successfully installed actionwebservice-0.9.3
/usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': No such file to load -- rdoc/rdoc (LoadError)
        from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/lib/site_ruby/1.8/rubygems/doc_manager.rb:43:in `generate_rdoc'
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:215:in `execute'
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in `each'
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in `execute'
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:in `each'
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:in `execute'
        from /usr/lib/site_ruby/1.8/rubygems/command.rb:49:in `invoke'
        from /usr/lib/site_ruby/1.8/rubygems/cmd_manager.rb:94:in `process_args'        from /usr/lib/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run'
        from /usr/lib/site_ruby/1.8/rubygems/gem_runner.rb:13:in `run'
        from /usr/bin/gem:17

i did a 
sudo yum  install irb ri
and reinstalled gem and rails. It went fine. I think in some of the distros (debian/Fedora)m you shouldnot install Ruby from tha package. Download latest version and install.</description>
		<content:encoded><![CDATA[<p>I also had the rdoc/rdoc problem in FC4 while installing rails with gem</p>
<p>gem install rails<br />
Attempting local installation of &#8216;rails&#8217;<br />
Local gem file not found: rails*.gem<br />
Attempting remote installation of &#8216;rails&#8217;<br />
Install required dependency rake? [Yn]  y<br />
Install required dependency activesupport? [Yn]  y<br />
Install required dependency activerecord? [Yn]  y<br />
Install required dependency actionpack? [Yn]  y<br />
Install required dependency actionmailer? [Yn]  y<br />
Install required dependency actionwebservice? [Yn]  y<br />
Successfully installed rails-0.14.3<br />
Successfully installed rake-0.6.2<br />
Successfully installed activesupport-1.2.3<br />
Successfully installed activerecord-1.13.0<br />
Successfully installed actionpack-1.11.0<br />
Successfully installed actionmailer-1.1.3<br />
Successfully installed actionwebservice-0.9.3<br />
/usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__&#8217;: No such file to load &#8212; rdoc/rdoc (LoadError)<br />
        from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/doc_manager.rb:43:in `generate_rdoc&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:215:in `execute&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in `each&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in `execute&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:in `each&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:in `execute&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/command.rb:49:in `invoke&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/cmd_manager.rb:94:in `process_args&#8217;        from /usr/lib/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run&#8217;<br />
        from /usr/lib/site_ruby/1.8/rubygems/gem_runner.rb:13:in `run&#8217;<br />
        from /usr/bin/gem:17</p>
<p>i did a<br />
sudo yum  install irb ri<br />
and reinstalled gem and rails. It went fine. I think in some of the distros (debian/Fedora)m you shouldnot install Ruby from tha package. Download latest version and install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoav</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3379</link>
		<dc:creator>yoav</dc:creator>
		<pubDate>Wed, 23 Nov 2005 12:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3379</guid>
		<description>i think that fastcgi is working now... doing the &lt;code&gt;ldconfig -v&lt;/code&gt; thing i think was what i missed.

now i get these messages in fastcgi.crash.log:
&lt;code&gt;[22/Nov/2005:19:49:52 :: 26136] starting
[22/Nov/2005:19:49:52 :: 26136] terminated gracefully&lt;/code&gt;

but this is showing up in server.log:
&lt;code&gt;[Tue Nov 22 19:49:27 2005] [error] [client 127.0.0.1] FastCGI: incomplete headers (35 bytes) received from server "/home/virtual/site1/fst/var/www/html/public/dispatch.fcgi"&lt;/code&gt;

dispatch.cgi is working fine, so i don't think it's a mysql problem, or my script error.

any ideas or directions i should investigate?

thanks...</description>
		<content:encoded><![CDATA[<p>i think that fastcgi is working now&#8230; doing the <code>ldconfig -v</code> thing i think was what i missed.</p>
<p>now i get these messages in fastcgi.crash.log:<br />
<code>[22/Nov/2005:19:49:52 :: 26136] starting<br />
[22/Nov/2005:19:49:52 :: 26136] terminated gracefully</code></p>
<p>but this is showing up in server.log:<br />
<code>[Tue Nov 22 19:49:27 2005] [error] [client 127.0.0.1] FastCGI: incomplete headers (35 bytes) received from server &#8220;/home/virtual/site1/fst/var/www/html/public/dispatch.fcgi&#8221;</code></p>
<p>dispatch.cgi is working fine, so i don&#8217;t think it&#8217;s a mysql problem, or my script error.</p>
<p>any ideas or directions i should investigate?</p>
<p>thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoav</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3370</link>
		<dc:creator>yoav</dc:creator>
		<pubDate>Wed, 23 Nov 2005 07:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3370</guid>
		<description>in this article: http://wiki.rubyonrails.com/rails/pages/RailsOnFedora

they say to do:
&lt;i&gt;NB:FastCGI installs to /usr/local/lib, so if it isn’t there already you will need to add /usr/local/lib to /etc/ld.so.conf and run:

$ ldconfig -v&lt;/i&gt;

doing this causes dispatch.fcgi to produce a 500 error, although it says:
&lt;code&gt;/usr/local/lib:
        libfcgi++.so.0 -&#62; libfcgi++.so.0.0.0
        libfcgi.so.0 -&#62; libfcgi.so.0.0.0&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>in this article: <a href="http://wiki.rubyonrails.com/rails/pages/RailsOnFedora" rel="nofollow">http://wiki.rubyonrails.com/rails/pages/RailsOnFedora</a></p>
<p>they say to do:<br />
<i>NB:FastCGI installs to /usr/local/lib, so if it isn’t there already you will need to add /usr/local/lib to /etc/ld.so.conf and run:</p>
<p>$ ldconfig -v</i></p>
<p>doing this causes dispatch.fcgi to produce a 500 error, although it says:<br />
<code>/usr/local/lib:<br />
        libfcgi++.so.0 -&gt; libfcgi++.so.0.0.0<br />
        libfcgi.so.0 -&gt; libfcgi.so.0.0.0</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoav</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3369</link>
		<dc:creator>yoav</dc:creator>
		<pubDate>Wed, 23 Nov 2005 06:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3369</guid>
		<description>everything seems to be going flawless when installing fcgi-2.4.0.

i did it again now, and here are the last parts of ./config &#38; make.

&lt;code&gt;configure: creating ./config.status
config.status: creating Makefile
config.status: creating cgi-fcgi/Makefile
config.status: creating include/Makefile
config.status: creating libfcgi/Makefile
config.status: creating examples/Makefile
config.status: creating fcgi_config.h
config.status: fcgi_config.h is unchanged&lt;/code&gt;

-------------

&lt;code&gt;creating echo-cpp
make[2]: Leaving directory `/usr/local/src/fcgi-2.4.0/examples'
Making all in include
make[2]: Entering directory `/usr/local/src/fcgi-2.4.0/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/fcgi-2.4.0/include'
make[2]: Entering directory `/usr/local/src/fcgi-2.4.0'
make[2]: Leaving directory `/usr/local/src/fcgi-2.4.0'
make[1]: Leaving directory `/usr/local/src/fcgi-2.4.0'&lt;/code&gt;

make install says that: 
&lt;code&gt;Libraries have been installed in:
   /usr/local/lib&lt;/code&gt;

i find these files under /usr/local/include:
&lt;code&gt;fastcgi.h      fcgiapp.h      fcgi_config.h  fcgimisc.h     fcgio.h        fcgios.h       fcgi_stdio.h&lt;/code&gt;

and these ones under /usr/local/lib:
&lt;code&gt;libfcgi.a           libfcgi.la          libfcgi.so          libfcgi.so.0        libfcgi.so.0.0.0    
libfcgi++.a         libfcgi++.la        libfcgi++.so        libfcgi++.so.0      libfcgi++.so.0.0.0&lt;/code&gt;

when doing the &lt;i&gt;gem instal fcgi....&lt;/i&gt; it says:
&lt;code&gt;checking for fcgiapp.h... yes
checking for FCGX_Accept() in -lfcgi... yes
creating Makefile&lt;/code&gt;

how can i tell if fcgi was installed properly or not?

thanks...:)</description>
		<content:encoded><![CDATA[<p>everything seems to be going flawless when installing fcgi-2.4.0.</p>
<p>i did it again now, and here are the last parts of ./config &amp; make.</p>
<p><code>configure: creating ./config.status<br />
config.status: creating Makefile<br />
config.status: creating cgi-fcgi/Makefile<br />
config.status: creating include/Makefile<br />
config.status: creating libfcgi/Makefile<br />
config.status: creating examples/Makefile<br />
config.status: creating fcgi_config.h<br />
config.status: fcgi_config.h is unchanged</code></p>
<p>&#8212;&#8212;&#8212;&#8212;-</p>
<p><code>creating echo-cpp<br />
make[2]: Leaving directory `/usr/local/src/fcgi-2.4.0/examples&#8217;<br />
Making all in include<br />
make[2]: Entering directory `/usr/local/src/fcgi-2.4.0/include&#8217;<br />
make[2]: Nothing to be done for `all&#8217;.<br />
make[2]: Leaving directory `/usr/local/src/fcgi-2.4.0/include&#8217;<br />
make[2]: Entering directory `/usr/local/src/fcgi-2.4.0&#8242;<br />
make[2]: Leaving directory `/usr/local/src/fcgi-2.4.0&#8242;<br />
make[1]: Leaving directory `/usr/local/src/fcgi-2.4.0&#8242;</code></p>
<p>make install says that:<br />
<code>Libraries have been installed in:<br />
   /usr/local/lib</code></p>
<p>i find these files under /usr/local/include:<br />
<code>fastcgi.h      fcgiapp.h      fcgi_config.h  fcgimisc.h     fcgio.h        fcgios.h       fcgi_stdio.h</code></p>
<p>and these ones under /usr/local/lib:<br />
<code>libfcgi.a           libfcgi.la          libfcgi.so          libfcgi.so.0        libfcgi.so.0.0.0<br />
libfcgi++.a         libfcgi++.la        libfcgi++.so        libfcgi++.so.0      libfcgi++.so.0.0.0</code></p>
<p>when doing the <i>gem instal fcgi&#8230;.</i> it says:<br />
<code>checking for fcgiapp.h... yes<br />
checking for FCGX_Accept() in -lfcgi... yes<br />
creating Makefile</code></p>
<p>how can i tell if fcgi was installed properly or not?</p>
<p>thanks&#8230;:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3367</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Wed, 23 Nov 2005 02:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3367</guid>
		<description>It seems to me that its more likely caused by a bad install of fcgi rather than the fcgi rubygem.  Are you sure that fcgi compiled and installed correctly?  Were there any errors when running configure or make?</description>
		<content:encoded><![CDATA[<p>It seems to me that its more likely caused by a bad install of fcgi rather than the fcgi rubygem.  Are you sure that fcgi compiled and installed correctly?  Were there any errors when running configure or make?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoav</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3366</link>
		<dc:creator>yoav</dc:creator>
		<pubDate>Wed, 23 Nov 2005 01:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-3366</guid>
		<description>hey
i have installed everything, without any errors.

the only error i get is inside the fastcgi.crash.log file when try to execute dispatch.fcgi.
the error is:
&lt;code&gt;[22/Nov/2005:14:25:53 :: 20815] Dispatcher failed to catch: undefined method `is_cgi?' for FCGI:Class (NoMethodError)
  /usr/lib/site_ruby/1.8/fcgi.rb:593:in `each_cgi'
  /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in `process!'
  /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:in `process!'
  /home/virtual/site1/fst/var/www/html/public/dispatch.fcgi:24
almost killed by this error
[22/Nov/2005:14:25:53 :: 20815] Dispatcher failed to catch: undefined method `is_cgi?' for FCGI:Class (NoMethodError)
  /usr/lib/site_ruby/1.8/fcgi.rb:593:in `each_cgi'
  /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in `process!'
  /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:in `process!'
  /home/virtual/site1/fst/var/www/html/public/dispatch.fcgi:24
killed by this error&lt;/code&gt;

i read in a few places that this is cause by a bad installation of the fcgi gem, and i should try to install it manually. well, if i install it manually, dispatch.fcgi throws out a 500 error. :)

when try to executein the browser, the browser thinks about it for a minute and then throws out a Rails failed message.

running:
 ensim 4.0.4 on fedora (i think core 3), apache 2, ruby 1.8.3

please please....i've been trying to solve this for two days now...

thanks :)</description>
		<content:encoded><![CDATA[<p>hey<br />
i have installed everything, without any errors.</p>
<p>the only error i get is inside the fastcgi.crash.log file when try to execute dispatch.fcgi.<br />
the error is:<br />
<code>[22/Nov/2005:14:25:53 :: 20815] Dispatcher failed to catch: undefined method `is_cgi?&#8217; for FCGI:Class (NoMethodError)<br />
  /usr/lib/site_ruby/1.8/fcgi.rb:593:in `each_cgi&#8217;<br />
  /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in `process!&#8217;<br />
  /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:in `process!&#8217;<br />
  /home/virtual/site1/fst/var/www/html/public/dispatch.fcgi:24<br />
almost killed by this error<br />
[22/Nov/2005:14:25:53 :: 20815] Dispatcher failed to catch: undefined method `is_cgi?&#8217; for FCGI:Class (NoMethodError)<br />
  /usr/lib/site_ruby/1.8/fcgi.rb:593:in `each_cgi&#8217;<br />
  /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in `process!&#8217;<br />
  /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:in `process!&#8217;<br />
  /home/virtual/site1/fst/var/www/html/public/dispatch.fcgi:24<br />
killed by this error</code></p>
<p>i read in a few places that this is cause by a bad installation of the fcgi gem, and i should try to install it manually. well, if i install it manually, dispatch.fcgi throws out a 500 error. :)</p>
<p>when try to executein the browser, the browser thinks about it for a minute and then throws out a Rails failed message.</p>
<p>running:<br />
 ensim 4.0.4 on fedora (i think core 3), apache 2, ruby 1.8.3</p>
<p>please please&#8230;.i&#8217;ve been trying to solve this for two days now&#8230;</p>
<p>thanks :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-303</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Thu, 22 Sep 2005 21:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-303</guid>
		<description>mysql_config is the executable mysql configuration tool.  Are you getting any errors when running "ruby extconf.rb --with-mysql-config=/usr/bin/mysql_config"?</description>
		<content:encoded><![CDATA[<p>mysql_config is the executable mysql configuration tool.  Are you getting any errors when running &#8220;ruby extconf.rb &#8211;with-mysql-config=/usr/bin/mysql_config&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JohnO</title>
		<link>http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-302</link>
		<dc:creator>JohnO</dc:creator>
		<pubDate>Thu, 22 Sep 2005 20:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/#comment-302</guid>
		<description>I am having a problem with connecting to the database.  I can connect through mysql (in the shell) with the appropriate user.  My phpMyAdmin works fine.  But my rails application fails:
No database specified. Missing argument: database

Trace:
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/mysql_adapter.rb:34:in `mysql_connection'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/query_cache.rb:52:in `send'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/query_cache.rb:52:in `connection='
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:108:in `retrieve_connection'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:239:in `connection'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:461:in `count_by_sql'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:454:in `count'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/pagination.rb:154:in `count_collection_for_pagination'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/pagination.rb:171:in `paginator_and_collection_for'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/pagination.rb:111:in `paginate'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/filters.rb:295:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `process'
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in `dispatch'
/home/john/public_html/client_net/public/dispatch.cgi:10

Here is my correct .yml file:
development:
  adapter: mysql
  database:john_client_net 
  host: localhost
  username: client_net
  password: rubyonrails

I tried updating the mysql-ruby library to 2.6.3 figuring it might be the ole OLD_PASSWORD function problem (running MySQL 4.1.10), but no dice.  Any one got any ideas? any place I can look to specifically find the problem?

I have a question (since I followed your last step of updating the mysql-ruby library)... does the --with-mysql-config=/usr/bin/mysql_conf option tell it to look for the configuration there? or to put it's own configuration there??? (Because if it tells to look there, which I doubt, since it is not a plaintext file, that might be why it doesn't connect)

I'll be checking back.. please email me if your respond so I don't miss it...</description>
		<content:encoded><![CDATA[<p>I am having a problem with connecting to the database.  I can connect through mysql (in the shell) with the appropriate user.  My phpMyAdmin works fine.  But my rails application fails:<br />
No database specified. Missing argument: database</p>
<p>Trace:<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/mysql_adapter.rb:34:in `mysql_connection&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/query_cache.rb:52:in `send&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/query_cache.rb:52:in `connection=&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:108:in `retrieve_connection&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:239:in `connection&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:461:in `count_by_sql&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:454:in `count&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/pagination.rb:154:in `count_collection_for_pagination&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/pagination.rb:171:in `paginator_and_collection_for&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/pagination.rb:111:in `paginate&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in `send&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in `perform_action_without_filters&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/filters.rb:295:in `perform_action_without_benchmark&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `perform_action_without_rescue&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `measure&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in `perform_action_without_rescue&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in `perform_action&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `send&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `process&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in `dispatch&#8217;<br />
/home/john/public_html/client_net/public/dispatch.cgi:10</p>
<p>Here is my correct .yml file:<br />
development:<br />
  adapter: mysql<br />
  database:john_client_net<br />
  host: localhost<br />
  username: client_net<br />
  password: rubyonrails</p>
<p>I tried updating the mysql-ruby library to 2.6.3 figuring it might be the ole OLD_PASSWORD function problem (running MySQL 4.1.10), but no dice.  Any one got any ideas? any place I can look to specifically find the problem?</p>
<p>I have a question (since I followed your last step of updating the mysql-ruby library)&#8230; does the &#8211;with-mysql-config=/usr/bin/mysql_conf option tell it to look for the configuration there? or to put it&#8217;s own configuration there??? (Because if it tells to look there, which I doubt, since it is not a plaintext file, that might be why it doesn&#8217;t connect)</p>
<p>I&#8217;ll be checking back.. please email me if your respond so I don&#8217;t miss it&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
