> On Aug 20, 2016, at 2:12 PM, Sam Ruby <[email protected]> wrote: > > On Sat, Aug 20, 2016 at 4:53 PM, Craig Russell <[email protected]> > wrote: >> I’m at the last step in MACOSX.md and it looks good. >> >> I can load the whimsy.local page and it has lots of links to the whimsy >> resources. > > Cool. > >> But when I access the secretary/workbench, the screen splits like it should >> but the left pane shows the ruby code from worklist.cgi instead of running >> the ruby code: >> >> #!/usr/bin/env ruby >> require 'wunderbar' >> require 'yaml' >> >> DOCTYPES = %w{icla grant ccla nda other} >> >> I think there must be something wrong with my passenger config. > > Passenger is not involved in running CGIs. What is most likely the > issue is that the line including mod_cgi wasn't uncommented. Other > possibilities are problems with the following lines: > > Options +ExecCGI +Indexes +FollowSymLinks +MultiViews > AddHandler cgi-script .cgi
I’m not sure where these go. But now I have a different problem: #<Errno::EACCES: Permission denied @ dir_s_mkdir - /srv> /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/fileutils.rb:253:in `mkdir' /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/fileutils.rb:253:in `fu_mkdir' /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/fileutils.rb:227:in `block (2 levels) in mkdir_p' /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/fileutils.rb:225:in `reverse_each' /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/fileutils.rb:225:in `block in mkdir_p' /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/fileutils.rb:211:in `each' /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/fileutils.rb:211:in `mkdir_p' /Users/clr/apache/git/whimsy/www/secretary/workbench/local_paths.rb:21:in `block in <top (required)>' /Users/clr/apache/git/whimsy/www/secretary/workbench/local_paths.rb:20:in `each' /Users/clr/apache/git/whimsy/www/secretary/workbench/local_paths.rb:20:in `<top (required)>' /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' /Users/clr/apache/git/whimsy/www/secretary/workbench/worklist.cgi:33:in `block (2 levels) in <main>' /Users/clr/apache/git/whimsy/www/secretary/workbench/worklist.cgi:15:in `block in <main>' > >> Craig L Russell >> Architect >> [email protected] >> P.S. A good JDO? O, Gasp! > > - Sam Ruby Craig L Russell Architect [email protected] P.S. A good JDO? O, Gasp!
