> > So that file is located at:
> > 
> > {RAILS_ROOT}/vendor/extensions/external_rss/external_rss_extension.rb
> > 
> > Is that correct? Are the permissions on that directory correct?
> 
> Yes, that is where it is located.
> The permissions are such that all files are r, and directories are rx
> by the web server (but not writable).
> 
> And anyhow  I just did a "chown -R www-data vendor/extensions"
> so they are owned by the web user.
> 
> I have determined that the extensions work if I use webrick.
> It is only with dispatch.fcgi that I'm having this problem.
> That seems like a useful clue, but I'm confused how it could find that
> the extensions are there, yet not execute the *_extension.rb file
> properly?

So maybe I didn't know what RAILS_ROOT is above.
Is that the directory set up by gem install radiant,
    /usr/lib/ruby/gems/1.8/gems/radiant-0.6.2
Or is that the directory set up by running "radiant --database postgresql 
myproject" ?

Anyhow, I just made myproject/vendor/extensions to be a sym link to
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.2/vendor/extensions, and now
my extensions are working fine in dispatch.fcgi and not just webrick.

-mda

_______________________________________________
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