Hi, everyone. I’ve got a development server running Webrick, and a
production server running under lighttpd. The following two lines of
code work just fine in the development server, but bombs out on the
production server with a “file not found” error:
label_base_jpeg = "app/views/price_books/label.jpg" canvas =
My guess is that lighttpd sets the current working directory to
something different from Webrick, leading to different interpretations
of the relative path in the code. Is this the case? Should it be?
In any event, what path can/should I use to ensure compatibility across
the different versions of my application?