On Thu, Jul 16, 2020 at 8:22 PM Dave Fisher <wave4d...@comcast.net> wrote:
>
> Latest versions of Catalina have locked up permissions.

Yea, you will find that your /srv directory has been relocated.
Figure out where they put it[1], and see if there is anything in there
you need.  Otherwise, delete it.

Then brew uninstall ruby and close the window.

Open a new command window, and verify that you are running ruby from
/usr/bin, and that it is version 2.6.  Here's what I see:

rubys@sams-air ~ % which ruby
/usr/bin/ruby
rubys@sams-air ~ % ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]

If you don't see similar values do not proceed to the next step.

Finally, execute

   whimsy/config/setupmymac --all

Be sure to specify --all, otherwise there are a number of things that
will be left pointing to the now uninstalled Ruby.  In order to
address the locked up permissions issue that Dave alluded to, this
will require a reboot.  Once that is done, rerun
whimsy/config/setupmymac --all again.

- Sam Ruby

[1] 
https://support.apple.com/guide/mac-help/a-relocated-items-folder-upgrading-macos-mac-mchl8ae423a3/mac



> Sent from my iPhone
>
> > On Jul 16, 2020, at 4:41 PM, Craig Russell <apache....@gmail.com> wrote:
> >
> > I upgraded to Catalina and tried setupmymac [1]
> >
> > Anything that is obvious?
> >
> > Thanks,
> > Craig
> >
> > [1] Bundler::PermissionError (Bundler::PermissionError)
> >  
> > /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/shared_helpers.rb:105:in
> >  `rescue in filesystem_access'
> >  
> > /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/shared_helpers.rb:102:in
> >  `filesystem_access'
> >  /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/definition.rb:353:in 
> > `lock'
> >  /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/runtime.rb:114:in 
> > `lock'
> >  /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/runtime.rb:41:in 
> > `setup'
> >  /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler.rb:149:in `setup'
> >  /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/setup.rb:20:in 
> > `block in <top (required)>'
> >  /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/ui/shell.rb:136:in 
> > `with_level'
> >  /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/ui/shell.rb:88:in 
> > `silence'
> >  /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/setup.rb:20:in `<top 
> > (required)>'
> >  
> > /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
> >  `require'
> >  
> > /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
> >  `require'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:361:in
> >  `activate_gem'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:221:in
> >  `block in run_load_path_setup_code'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:525:in
> >  `running_bundler'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:220:in
> >  `run_load_path_setup_code'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:91:in
> >  `preload_app'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:189:in
> >  `block in <module:App>'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in
> >  `run_block_and_record_step_progress'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:188:in
> >  `<module:App>'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:30:in
> >  `<module:PhusionPassenger>'
> >  
> > /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:29:in
> >  `<main>'
> > Craig L Russell
> > c...@apache.org
> >
>

Reply via email to