Re: whimsy still errors

2020-06-18 Thread Sam Ruby
On Wed, Jun 17, 2020 at 7:03 PM Craig Russell wrote: > > I saw that one and commented it out. > > It has some effect although I cannot tell you why. All it would appear to do > is to prepend /usr/local/bin > to the PATH but it already had /usr/local/bin in the path. whimsy.conf is based on the

Re: whimsy still errors

2020-06-17 Thread Craig Russell
I saw that one and commented it out. It has some effect although I cannot tell you why. All it would appear to do is to prepend /usr/local/bin to the PATH but it already had /usr/local/bin in the path. So things are working now. Modulo my understanding of why line 32 was messing things up. Qu

Re: whimsy still errors

2020-06-17 Thread Sam Ruby
I'm on my phone but look at line 32 in whimsy.conf On Wed, Jun 17, 2020, 6:25 PM Craig Russell wrote: > > > > On Jun 17, 2020, at 3:00 PM, sebb wrote: > > > > On Wed, 17 Jun 2020 at 22:19, Craig Russell > wrote: > >> > >> I edited /etc/apache2/httpd.conf and added

Re: whimsy still errors

2020-06-17 Thread Craig Russell
> On Jun 17, 2020, at 3:00 PM, sebb wrote: > > On Wed, 17 Jun 2020 at 22:19, Craig Russell > wrote: >> >> I edited /etc/apache2/httpd.conf and added this: >> SetEnv PATH >> /usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/bin:/usr/bin:/bin:/u

Re: whimsy still errors

2020-06-17 Thread sebb
On Wed, 17 Jun 2020 at 22:19, Craig Russell wrote: > > I edited /etc/apache2/httpd.conf and added this: > SetEnv PATH > /usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin > > I restarted the server via: > sudo apachectl restart > > But localhos

Re: whimsy still errors

2020-06-17 Thread Craig Russell
I edited /etc/apache2/httpd.conf and added this: SetEnv PATH /usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin I restarted the server via: sudo apachectl restart But localhost/officers/test.cgi still showed: PATH /usr/local/bin:/usr/bin:/bin:

Re: whimsy still errors

2020-06-17 Thread Sam Ruby
On Wed, Jun 17, 2020 at 3:20 PM Craig Russell wrote: > > > On Jun 17, 2020, at 11:43 AM, Sam Ruby wrote: > > > > You are getting close, and this problem I can fully explain. > > > > Prior stack traces indicated that you were running Ruby 2.7 > > (presumably from homebrew?). This stack trace indi

Re: whimsy still errors

2020-06-17 Thread sebb
You should also be able to change the path in httpd.conf SetEnv PATH ...:${PATH} On Wed, 17 Jun 2020 at 20:20, Craig Russell wrote: > > > > > On Jun 17, 2020, at 11:43 AM, Sam Ruby wrote: > > > > You are getting close, and this problem I can fully explain. > > > > Prior stack traces indicated

Re: whimsy still errors

2020-06-17 Thread Craig Russell
> On Jun 17, 2020, at 11:43 AM, Sam Ruby wrote: > > You are getting close, and this problem I can fully explain. > > Prior stack traces indicated that you were running Ruby 2.7 > (presumably from homebrew?). This stack trace indicates that you are > running Ruby 2.3 (the system installed Ruby

Re: whimsy still errors

2020-06-17 Thread Sam Ruby
You are getting close, and this problem I can fully explain. Prior stack traces indicated that you were running Ruby 2.7 (presumably from homebrew?). This stack trace indicates that you are running Ruby 2.3 (the system installed Ruby). Each version of Ruby has its own set of installed Gems. The

whimsy still errors

2020-06-17 Thread Craig Russell
Deleting that file solved the issue with board/agenda. It now works. And I can reliably get the whimsy main page and officers/test.cgi and members/test.cgi to work. But http://localhost/members/proxy.cgi gives me an error 500 page. In the httpd log: [Wed Jun 17 10:40:57.734041 2020] [cgi:error]