Hi, I have a problem with serving static files in my app. I use the code as shown here ( https://github.com/judofyr/camping/wiki/Serving-Static-Files). I had to remove the @ sign for FILE to make it work.
For now I'm only serving one background image: ------------------------------ #index_main { background-size: cover; background-image: url("static/slika2.jpg") } ------------------------------ When I do this in my windows running from command line the image is served. When I do this in windows server 2008 running as a service, the image is not shown and if I try accessing it like <<address>>:3301/static/slika2.jpg I get this error: Camping Problem! /static/slika2.jpg not found I'm using config.ru like so: $LOAD_PATH << File.expand_path('..') require './<<app_name>>' <<app_name>>.create run <<app_name>> Should I add anything for the static files in config.ru as well? I use thin as the server. thank you! regards, seba
_______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list