I have a Rails (3.1.3 with asset pipeline) application that will be 
deployed as a war. This application has ui "themes". Internally, I just 
have .scss files (Sass) in the assets directory of the Rails application 
and I let the user switch between them.

I'd like to allow administrators to add themes(basically .scss files) to 
the application after it has been deployed as a war. How can I allow the 
functionality without requiring the war be rebuilt/recompiled (using 
warbler). Ideally, they would be able to add themes without having to do 
anything with the war file.

I have a similar concern for language files. How can someone dynamically 
add a language file to a deployed Rails application?

I'm currently pre-compiling assets, namely the themes written using Sass, 
in production, but I'm open to changing this if it'll helps solve this 
issue. Can I precompile asssets outside of the war? Is it possible to set 
the path of the asset pipeline to outside the war?

Note: This question is cross-posted with this StackOverflow 
question<http://stackoverflow.com/questions/11977729/rails-adding-assets-and-language-files-after-the-war-has-been-deployed>
.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/sTCnloA4sYQJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to