search for: price_books

Displaying 1 result from an estimated 1 matches for "price_books".

2006 Feb 16
1
Relative paths in Webrick vs. lighttpd
...''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 = Magick::ImageList.new(label_base_jpeg) 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...