On Fri, Jul 30, 2021 at 11:05 PM Craig Russell <apache....@gmail.com> wrote: > > The setupmymac does run to completion with a bunch of errors but it starts > the server and opens a browser to whimsy.local. From there, I select > secretary workbench and it gives me six emails from 7/14/2020 to 7/17/2020.
Try the following commands: cd /srv/whimsy/www/secretary/workbench rake fetch > I select one of the messages and it gives me the message processing page and > when I select category (icla) it gives me the icla screen. I know that this > is using very old code because the category has (0) incomplete form but none > of the checkboxes that indicate what is incomplete. > > So where it this code getting the icla.js.rb? /srv/whimsy/www/secretary/workbench//views/forms/icla.js.rb - Sam Ruby > > > > On Jul 30, 2021, at 6:06 PM, Sam Ruby <ru...@intertwingly.net> wrote: > > > > While I am currently running 11.4, setupmymac was developed using > > prior versions of MacOSX. > > > > What does "xcode-select -p" return? > > > [MacBook-Pro-10:~/apache/foundation/officers] clr% xcode-select -p > /Library/Developer/CommandLineTools > > Craig > > > > If it returns something OTHER than "/Library/Developer/CommandLineTools", > > try: > > > > $ sudo xcode-select --switch /Library/Developer/CommandLineTools > > > > As to your question, if you do choose to upgrade, you will likely need > > to reinstall xcode-select again, and at that point things should work. > > Meanwhile, you are running a supported version of Ruby and bundler > > isn't all that backlevel and shouldn't be a problem. > > > > - Sam Ruby > > > > On Fri, Jul 30, 2021 at 8:57 PM Craig Russell <apache....@gmail.com> wrote: > >> > >> I installed the command line tools but still the bundler is 2.1.4. > >> > >> So the problem is that whimsy doesn't work with Catalina 10.15.7 which I > >> admit is not the latest MacOSX? > >> > >> Before I upgrade my system, will this likely change anything? > >> > >> Thanks, > >> Craig > >> > >>> On Jul 30, 2021, at 5:48 PM, Craig Russell <apache....@gmail.com> wrote: > >>> > >>> > >>> > >>>> On Jul 30, 2021, at 5:16 PM, Sam Ruby <ru...@intertwingly.net > >>>> <mailto:ru...@intertwingly.net>> wrote: > >>>> > >>>> 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 > >>>> <mailto: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. > >>> > >>> $ rake update > >>> Fetching gem metadata from https://rubygems.org/ > >>> <https://rubygems.org/>....... > >>> Resolving dependencies... > >>> Using builder 3.2.4 > >>> Using bundler 2.1.4 > >>> Using concurrent-ruby 1.1.9 > >>> Fetching json 2.5.1 > >>> Installing json 2.5.1 with native extensions > >>> Gem::Ext::BuildError: ERROR: Failed to build gem native extension. > >>> > >>> current directory: > >>> /Users/clr/apache/git/whimsy/tools/vendor/bundle/ruby/2.6.0/gems/json-2.5.1/ext/json/ext/generator > >>> /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I > >>> /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 > >>> -r ./siteconf20210730-35595-1461wtm.rb extconf.rb > >>> creating Makefile > >>> > >>> current directory: > >>> /Users/clr/apache/git/whimsy/tools/vendor/bundle/ruby/2.6.0/gems/json-2.5.1/ext/json/ext/generator > >>> make "DESTDIR=" clean > >>> > >>> current directory: > >>> /Users/clr/apache/git/whimsy/tools/vendor/bundle/ruby/2.6.0/gems/json-2.5.1/ext/json/ext/generator > >>> make "DESTDIR=" > >>> compiling generator.c > >>> In file included from generator.c:1: > >>> In file included from ./../fbuffer/fbuffer.h:5: > >>> In file included from > >>> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby.h:33: > >>> /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" > >>> ^~~~~~~~~~~~~~~ > >>> /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: > >>> note: did not find header 'config.h' in framework 'ruby' (loaded from > >>> '/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks') > >>> 1 error generated. > >>> make: *** [generator.o] Error 1 > >>> > >>> make failed, exit code 2 > >>> > >>> Gem files will remain installed in > >>> /Users/clr/apache/git/whimsy/tools/vendor/bundle/ruby/2.6.0/gems/json-2.5.1 > >>> for inspection. > >>> Results logged to > >>> /Users/clr/apache/git/whimsy/tools/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-19/2.6.0/json-2.5.1/gem_make.out > >>> > >>> An error occurred while installing json (2.5.1), and Bundler cannot > >>> continue. > >>> Make sure that `gem install json -v '2.5.1' --source > >>> 'https://rubygems.org/'` <https://rubygems.org/'%60> succeeds before > >>> bundling. > >>> > >>>> > >>>> - Sam Ruby > >>> > >>> Craig L Russell > >>> c...@apache.org <mailto:c...@apache.org> > >>> > >> > >> Craig L Russell > >> c...@apache.org > >> > > Craig L Russell > c...@apache.org >