Respect Rails.public_path when computing the path to the manifest file.

This is important when packaging JRuby apps using warbler, as the
public directory configured to be the root of the war file, rather
than underneath a directory called "public".