Hi Jon,

On Tue, 2008-02-12 at 10:02 +0000, Jon Evans wrote:
> On 12 Feb 2008, at 01:41, Bill Barnard wrote:
> > On Mon, 2008-02-11 at 23:26 +0000, Jon Evans wrote:
> >
> >> I'm using the Radiant Gem 0.6.4. The error I get is:
> >>
> >> [shiny]:~/rails/site evansj$ rake production db:migrate
> >
> > I think what you want is:
> >
> > $ rake production db:migrate:extensions
> 
> That doesn't work either. :)
> 
> [shiny]:~/rails/site evansj$ rake production db:migrate:extensions
> (in /Users/evansj/rails/site)
> rake aborted!
> uninitialized constant PageAttachmentsExtension::Technoweenie

You might want to look at how you installed the extension. Your
page_attachments directory should contain lib/technoweenie/ where the
attachment_fu code lives. I don't really know the mechanism, but
radiant/rails finds code in the lib directories automatically.

Anyway the technoweenie code is an svn:external wrt page_attachments.
Perhaps it's just not installed?

I'd refer back to the wiki page for installing the extension, but I
can't seem to load it just now... Anyway I followed those instructions
very recently and things worked properly.

One thing that might not be in those instructions is the need to load
the shards extension prior to other extensions - I have a line in my
config/environment.rb that reads:

config.extensions = [ :shards, :textile_filter, :markdown_filter, :all ]

Another difference between my setup and yours is that I am using Rev 631
of radiant, not the 0.6.4 gem, and also not the trunk from svn. (I chose
that rev because it contains a page caching fix I wanted.) I was worried
about stability of the trunk, and prefer to use official releases where
possible.

Also I'm using Rev 58 of page attachments.

Let me know if any of this helps...

Bill
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to