> I am working on a Rails CMS gem. I want the Gem to have its own Public
> dir (like Rails) to hold css/js/images etc... I have been trying a lot
> of different pathing options from my Gem-centric views, but no matter
> what I try I can't target any of the files.
> 
> Any thoughts on how to set this up?

I don't recall the plugin/gem that did this, but it ran all of the 
css/js/images through Rails routes with caching.  So you get penalized that 
first time, but from then on they are cached...

Or you might override compute_path() and have it look in your gem/public 
directory first or last if it doesn't already exist, etc.

-philip

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to