<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rails App Template</title>
	<atom:link href="http://bjclark.me/2009/08/rails-app-template/feed/" rel="self" type="application/rss+xml" />
	<link>http://bjclark.me/2009/08/rails-app-template/</link>
	<description>rails, design, art, business by BJ Clark</description>
	<lastBuildDate>Tue, 24 Jan 2012 16:26:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: BJ Clark</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-15</link>
		<dc:creator>BJ Clark</dc:creator>
		<pubDate>Fri, 14 Aug 2009 04:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-15</guid>
		<description>Yes, there should be! :)

I haven&#039;t upgraded to 2.3.3 yet, so I&#039;m glad to hear you&#039;ve got it working. When you get the right versions going, can you let me know and I&#039;ll see if I can duplicate it on my machine with those new versions?

Thanks for working this out, and I&#039;m sorry for not replying, I&#039;ve been on vacation. :)</description>
		<content:encoded><![CDATA[<p>Yes, there should be! <img src='http://bjclark.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I haven&#8217;t upgraded to 2.3.3 yet, so I&#8217;m glad to hear you&#8217;ve got it working. When you get the right versions going, can you let me know and I&#8217;ll see if I can duplicate it on my machine with those new versions?</p>
<p>Thanks for working this out, and I&#8217;m sorry for not replying, I&#8217;ve been on vacation. <img src='http://bjclark.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marfarma</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-14</link>
		<dc:creator>marfarma</dc:creator>
		<pubDate>Sat, 08 Aug 2009 18:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-14</guid>
		<description>OK - now we&#039;re cooking with gas!!

rspec was parsing the options -- so had to comment out the rspec and rspec-rails plugins, and UPGRADE the cucumber version, which no longer requires rspec.

Then I could restore the scaffold_resource code with it&#039;s original options.

Further, the less gem needed a higher version than specified in the template, as well.  I won&#039;t be surprised if several other gems or plugins won&#039;t need a higher version.  Of course, once I get it all tested and completely working, I&#039;ll lock the versions down again.  Serves me right for running Rails 2.33.

There ought to be a way to specify the Rails version a given template is compatible with .....</description>
		<content:encoded><![CDATA[<p>OK &#8211; now we&#8217;re cooking with gas!!</p>
<p>rspec was parsing the options &#8212; so had to comment out the rspec and rspec-rails plugins, and UPGRADE the cucumber version, which no longer requires rspec.</p>
<p>Then I could restore the scaffold_resource code with it&#8217;s original options.</p>
<p>Further, the less gem needed a higher version than specified in the template, as well.  I won&#8217;t be surprised if several other gems or plugins won&#8217;t need a higher version.  Of course, once I get it all tested and completely working, I&#8217;ll lock the versions down again.  Serves me right for running Rails 2.33.</p>
<p>There ought to be a way to specify the Rails version a given template is compatible with &#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marfarma</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-13</link>
		<dc:creator>marfarma</dc:creator>
		<pubDate>Sat, 08 Aug 2009 05:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-13</guid>
		<description>OK - further information about the options on the scaffold line -- seems to be related to the cucumber / rspec issue described here: http://wiki.github.com/aslakhellesoy/cucumber/troubleshooting  The error does seem to run through the rspec code.


I&#039;ll comment rspec out of the environment, and try that scaffod build again -- and see what I get.</description>
		<content:encoded><![CDATA[<p>OK &#8211; further information about the options on the scaffold line &#8212; seems to be related to the cucumber / rspec issue described here: <a href="http://wiki.github.com/aslakhellesoy/cucumber/troubleshooting" rel="nofollow">http://wiki.github.com/aslakhellesoy/cucumber/troubleshooting</a>  The error does seem to run through the rspec code.</p>
<p>I&#8217;ll comment rspec out of the environment, and try that scaffod build again &#8212; and see what I get.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marfarma</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-12</link>
		<dc:creator>marfarma</dc:creator>
		<pubDate>Fri, 07 Aug 2009 06:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-12</guid>
		<description>Well, the specs pass, as all but two features do.

These are the two failing features:

Failing Scenarios:
cucumber features/authentication.feature:6 # Scenario: Signing Up
cucumber features/authentication.feature:27 # Scenario: Scenario: Resetting my password

In each case, the failure is the same:

&quot;When I open the email                               # features/step_definitions/email_steps.rb:30
      Could not find email  . &quot;</description>
		<content:encoded><![CDATA[<p>Well, the specs pass, as all but two features do.</p>
<p>These are the two failing features:</p>
<p>Failing Scenarios:<br />
cucumber features/authentication.feature:6 # Scenario: Signing Up<br />
cucumber features/authentication.feature:27 # Scenario: Scenario: Resetting my password</p>
<p>In each case, the failure is the same:</p>
<p>&#8220;When I open the email                               # features/step_definitions/email_steps.rb:30<br />
      Could not find email  . &#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marfarma</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-11</link>
		<dc:creator>Marfarma</dc:creator>
		<pubDate>Thu, 06 Aug 2009 23:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-11</guid>
		<description>Ok - I managed to get it to run clean.

Needed to replace self.root with @root.split(&#039;/&#039;).last

Then it choaked on the scaffold_resource ... &quot;-s&quot;,&quot;--skip-migration&quot;

I had to lose the -s and switch the double dash in front of skip-migration to a single dash.  I can&#039;t figure out why that was a problem, but perhaps it&#039;s related to rails 2.33 or rspec 1.2.8

Now to move on to the final step, where I can run the tests and see if it actually works.</description>
		<content:encoded><![CDATA[<p>Ok &#8211; I managed to get it to run clean.</p>
<p>Needed to replace self.root with @root.split(&#8216;/&#8217;).last</p>
<p>Then it choaked on the scaffold_resource &#8230; &#8220;-s&#8221;,&#8221;&#8211;skip-migration&#8221;</p>
<p>I had to lose the -s and switch the double dash in front of skip-migration to a single dash.  I can&#8217;t figure out why that was a problem, but perhaps it&#8217;s related to rails 2.33 or rspec 1.2.8</p>
<p>Now to move on to the final step, where I can run the tests and see if it actually works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BJ Clark</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-10</link>
		<dc:creator>BJ Clark</dc:creator>
		<pubDate>Thu, 06 Aug 2009 21:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-10</guid>
		<description>Try creating a user for Postgresql that is the same as the name of your project. That&#039;s how I usually do it. I can look at extending this to use a specified user.</description>
		<content:encoded><![CDATA[<p>Try creating a user for Postgresql that is the same as the name of your project. That&#8217;s how I usually do it. I can look at extending this to use a specified user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marfarma</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-9</link>
		<dc:creator>Marfarma</dc:creator>
		<pubDate>Thu, 06 Aug 2009 18:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-9</guid>
		<description>I&#039;m tracking this down -- wanted to say that the login tuning rails has superuser priv.  From the shell the create user command succeeds.

Don&#039;t understand why the same thing run from inside a rails session would fail.

Any ideas welcome.</description>
		<content:encoded><![CDATA[<p>I&#8217;m tracking this down &#8212; wanted to say that the login tuning rails has superuser priv.  From the shell the create user command succeeds.</p>
<p>Don&#8217;t understand why the same thing run from inside a rails session would fail.</p>
<p>Any ideas welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marfarma</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-8</link>
		<dc:creator>marfarma</dc:creator>
		<pubDate>Thu, 06 Aug 2009 06:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-8</guid>
		<description>I can&#039;t seem to let this go.  I&#039;ve abandoned my attempt to convert this template to sqlite -- and gone so far as to install postgresql, so I could try the un-hacked one.  However, I must not have it configured the same way you do, as I&#039;m getting this:

   executing  createuser -s /var/lib/postgresql/cccd from /var/lib/postgresql/cccd
        rake  db:create
FATAL:  role &quot;cccd&quot; does not exist
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/connection_adapters/postgresql_adapter.rb:950:in `initialize&#039;
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/connection_adapters/postgresql_adapter.rb:950:in `connect&#039;

when I run it.

Help!</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to let this go.  I&#8217;ve abandoned my attempt to convert this template to sqlite &#8212; and gone so far as to install postgresql, so I could try the un-hacked one.  However, I must not have it configured the same way you do, as I&#8217;m getting this:</p>
<p>   executing  createuser -s /var/lib/postgresql/cccd from /var/lib/postgresql/cccd<br />
        rake  db:create<br />
FATAL:  role &#8220;cccd&#8221; does not exist<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/connection_adapters/postgresql_adapter.rb:950:in `initialize&#8217;<br />
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/connection_adapters/postgresql_adapter.rb:950:in `connect&#8217;</p>
<p>when I run it.</p>
<p>Help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marfarma</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-7</link>
		<dc:creator>Marfarma</dc:creator>
		<pubDate>Tue, 04 Aug 2009 17:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-7</guid>
		<description>Didn&#039;t see your reply.

I&#039;ll try that.

Thanks</description>
		<content:encoded><![CDATA[<p>Didn&#8217;t see your reply.</p>
<p>I&#8217;ll try that.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marfarma</title>
		<link>http://bjclark.me/2009/08/rails-app-template/comment-page-1/#comment-6</link>
		<dc:creator>Marfarma</dc:creator>
		<pubDate>Tue, 04 Aug 2009 17:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://bjclark.me/?p=34#comment-6</guid>
		<description>Please delete my previous comment.

It was inappropriate of me to dump the entire run log on you.

Thanks for posting the template -- and I&#039;ll work my way through my errors over time.</description>
		<content:encoded><![CDATA[<p>Please delete my previous comment.</p>
<p>It was inappropriate of me to dump the entire run log on you.</p>
<p>Thanks for posting the template &#8212; and I&#8217;ll work my way through my errors over time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.310 seconds -->

