fixed usage of CANVAS_OS_PATH for rake tasks without env