Вопрос

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