Fix issue #304 dealing with APP_PATH existence warning on rails load.