You don't need to do both setupmymac AND docker, so feel free to pick
which option works best for you.  In the off chance you do wish to
continue to explore setupmymac, see my response interspersed below.

On Fri, Jul 30, 2021 at 4:45 PM Craig Russell <apache....@gmail.com> wrote:
>
> [MacBook-Pro-10:~/apache/git/whimsy] clr% ruby -v
> ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
> [MacBook-Pro-10:~/apache/git/whimsy] clr% bundle -v
> Bundler version 2.1.4

That's a slightly old version of bundler.  This is an indication that
you have an old version of the command line tools installed.

[snip]

> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10:
>  fatal error: 'ruby/config.h' file not found
> #include "ruby/config.h"
>          ^~~~~~~~~~~~~~~

If you google this, you will see the recommendation to reinstall the
command line tools:

$ sudo rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install

The progress indicator that you will see will likely fluctuate widely
from hours to minutes, but realistically this will take 15 minutes or
so.

Once this completes, run setupmymac again.

- Sam Ruby

Reply via email to