Mock configs and instructions for building packages locally

Is this command supposed to be executed within a package dir? I mean ./rubygem-something for example, then the mock_config_dir path is incorrect, I assume.