When testing locally you should always be using some kind of webserver: webrick, mamp, etc. This is due to browser limitations for making requests to the file system as opposed to an http request.
↧