Ok, I can try Docker.

Where are the instructions? I hope the image that I create will use the 
family-first code that I wrote.

And assuming that it does, how do I send one of the new forms that contain the 
family first check box?

Thanks,
Craig

> On Jul 30, 2021, at 2:26 PM, sebb <seb...@gmail.com> wrote:
> 
> It's a lot easier to just use Docker.
> 
> Whilst it is possible to run the code directly on macOS, it can be
> hard work setting it up, and it is difficult for people to help, as
> your system will not be set up the same as anyone else.
> 
> With Docker, most of the set-up is in the container.
> Only the outside mounts will differ, and generally these are easy to set up.
> 
> Yes, the initial download and install of Docker takes a while, but it
> does not need much attention.
> Likewise, the Whimsy image takes a while, but can be left to run
> unattended once started.
> Subsequent builds should be much quicker.
> 
> However you will need around 2GB spare disk space.
> 
> 
> On Fri, 30 Jul 2021 at 21:45, 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
>> [MacBook-Pro-10:~/apache/git/whimsy] clr% bundle update
>> Fetching gem metadata from https://rubygems.org/.......
>> Resolving dependencies...
>> 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/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-2876-57kxsm.rb extconf.rb
>> creating Makefile
>> 
>> current directory: 
>> /Users/clr/apache/git/whimsy/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/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/vendor/bundle/ruby/2.6.0/gems/json-2.5.1 for 
>> inspection.
>> Results logged to 
>> /Users/clr/apache/git/whimsy/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/'` succeeds before bundling.
>> 
>> In Gemfile:
>>  whimsy-asf was resolved to 0.0.77, which depends on
>>    wunderbar was resolved to 1.4.5, which depends on
>>      json
>> 
>> 
>>> On Jul 30, 2021, at 11:23 AM, Sam Ruby <ru...@intertwingly.net> wrote:
>>> 
>>> Can you try the following commands?
>>> 
>>> ruby -v
>>> bundle -v
>>> bundle update
>>> 
>>> - Sam Ruby
>>> 
>>> P.S.  The easiest way to get started is by either using setupmymac or
>>> a docker container.
>>> 
>>> On Fri, Jul 30, 2021 at 1:03 PM Craig Russell <apache....@gmail.com> wrote:
>>>> 
>>>> I'm trying to set up the test environment for secretary workbench.
>>>> 
>>>> [MacBook-Pro-10:~] clr% cd apache/git/whimsy/www/secretary/workbench/
>>>> [MacBook-Pro-10:www/secretary/workbench] clr% rake fetch
>>>> rake aborted!
>>>> Command failed with status (127): [bundle update...]
>>>> /Users/clr/apache/git/whimsy/www/secretary/workbench/Rakefile:11:in `block 
>>>> in <top (required)>'
>>>> /Library/Ruby/Gems/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
>>>> Tasks: TOP => fetch => bundle => Gemfile.lock
>>>> (See full trace by running task with --trace)
>>>> [MacBook-Pro-10:www/secretary/workbench] clr% which rake
>>>> /usr/bin/rake
>>>> 
>>>> Any ideas?
>>>> 
>>>> Thanks,
>>>> Craig
>>>> 
>>>> Craig L Russell
>>>> c...@apache.org
>>>> 
>> 
>> Craig L Russell
>> c...@apache.org
>> 

Craig L Russell
c...@apache.org

Reply via email to