Question

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

?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top