문제

As you can see, the file is there. I made sure to switch rights to that file to everyone - anythiig I am missing that is obvious?

enter image description here

enter image description here

Ruby 1.8.7 Rails 3.0.3

도움이 되었습니까?

해결책

You shouldn't be using / before public, as it is searching for public directory in root , so for example, if you wanted to remove the file from a terminal you would say:

rm public/settings.xml

다른 팁

Rails serves up files in the public directory from the root of the application. So instead of using /public/settings.xml as the path in the browser, you should just use /settings.xml

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top