문제

When one is in the rails - application folder, why is it different

$demo_app> pry -r ./config/environment 

from

$demo_app> pry -r config/environment

?

도움이 되었습니까?

해결책

./ means current folder where you are executing the command, if ./ is not mentioned it will also try to find in the class path

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