Open 86me opened 6 years ago
Looks like your global autoloader does not include the cgr classes. You could try composer global dumpautoload
, or maybe remove and re-add cgr.
Would it be preferable if cgr were provided as a phar? The installation instructions would then be:
Updates would thereafter be done via cgr self:update
(although cgr rarely needs updating).
The current installation method is just one line (if folks have already put the Composer global vendor bin in their path), but it seems that it has occasionally been unreliable for folks, and I'm not sure why. Maybe the phar would be more straightforward.
Followed the installation instructions, added "~/.config/composer/vendor/bin" to my $PATH, then tried running
cgr
and get this errorThis is line 17 of cgr.php
$home = \Consolidation\Cgr\SystemInformation::getHomeDir();
What am I missing?
OS: Arch Composer version 1.7.2 2018-08-16 16:57:12