On Mon, Nov 8, 2010 at 9:45 AM, Anthony Bouch <anthony.bo...@gmail.com> wrote:
> Have been trying to get a gallery to work with Radiant.
>
> I've tried the 'Galleries' extension - but could see no way to add
> images from the asset list to the gallery.
>
> Am also now looking at the Library extension and their fork of
> Paperclipped - but after trying to run the rake development
> db:migrate:extensions task - I'm now getting an error which says..
>
> undefined method `is_taggable' for #<Class:0xb6d096f0>
>
> ..nor can I start the webserver.
>
> Any ideas? Help?
>
> Tony
>

I haven't tried, but you could run the task with "--trace"
rake db:migrate:extensions --trace

That will show you the stack trace and you can look for an error
coming from one of your extensions. It will tell you the line number
where the error occurs.

Also, you should be more specific here. You said that you are looking
at the Library extension "and their fork" of Paperclipped.
Pointing us to a specific repository would be helpful.

Are you sure you have the latest versions of these extensions? Or is
it possible that you have a version of Radiant that doesn't work with
a particular version of an extension? Often developers will tag
versions of their extensions on github.com for older versions of
Radiant.

Does the rake task work when your extensions are not in
vendor/extensions? (just move them out, try it, and move them back in)
Or is there some combination of extensions which causes the error? For
example, 1 extension might add features to another, but they are
loaded in the wrong order.
Extensions are loaded alphabetically (like plugins) but you can
specify their load order in config/environment.rb
If you have Library and Paperclipped, it's likely that Library is
loaded first and should not be.

Try setting "config.extensions = [:paperclipped, :library, :all]" and
adjust that as you need.



-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338

Reply via email to