Joel Oliveira
2007-May-03 21:22 UTC
mongrel dev server and custom subdirectories within ./public
Everyone - I''m trying to add some theme support for my application and started creating a logical directory structure under public - /public/themes/custom/my_theme_name/*.css /public/themes/custom/my_theme_name/images/* etc etc. Looks good on paper. But when I run a development mongrel server to test things out, it tries to run my included css stylesheets through the routing engine. Is there any way I can set mongrel up in a way where it won''t do that? Has anyone had this happen to them before? Example: ------------------- Routing Error Recognition failed for "/stylesheets/themes/c/green/styles.css" ------------------- Thanks! - J --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Joel Oliveira
2007-May-04 02:24 UTC
Re: mongrel dev server and custom subdirectories within ./public
Guys - I''m a knucklehead. I had the path set completely wrong. Please disregard my question :-/ Let this be a warning - don''t drink (too much caffeine) and code! - J On 5/3/07, Joel Oliveira <joel.oliveira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Everyone - > > I''m trying to add some theme support for my application and started > creating a logical directory structure under public - > > /public/themes/custom/my_theme_name/*.css > /public/themes/custom/my_theme_name/images/* > > etc etc. Looks good on paper. > > But when I run a development mongrel server to test things out, it > tries to run my included css stylesheets through the routing engine. > Is there any way I can set mongrel up in a way where it won''t do that? > Has anyone had this happen to them before? > > Example: > > ------------------- > Routing Error > Recognition failed for "/stylesheets/themes/c/green/styles.css" > ------------------- > > Thanks! > > - J >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---