On Thu, 5 Aug 2021 at 04:14, Craig Russell <apache....@gmail.com> wrote:
>
> Still looking for some help here. The error reported from the completion of 
> setupmymac points to ruby2js strange error. Is this perhaps related to the 
> auto-update issue being discussed else-thread?
>
> Is there some reason that ruby2js must be === 3.6.0?

There was a problem with one of the versions which meant that the
version had to be pinned.

It is defined in the top-level file ruby2js.version

I've no idea whether the latest version is compatible with the Whimsy
code, but it is easy enough to change the .version file and re-install
the Gems.

If you want to unpin it, enter something like:

>= 0.0.0


> Raw Bundler exception
>
> Exception message:
>
> Could not find gem 'ruby2js (= 3.6.0)' in rubygems repository 
> https://rubygems.org/ or installed locally.
> The source contains the following versions of 'ruby2js': 3.2.0, 4.1.4 
> (Bundler::GemNotFound)
> Any help will be rewarded in kind(ness).
> Craig
>
> > On Aug 3, 2021, at 7:57 PM, Craig Russell <apache....@gmail.com> wrote:
> >
> > I think Apple has indicated their intent to discontinue ruby as a 
> > system-provided tool.
> >
> > macOS Catalina 10.15 Release Notes
> > Scripting Language Runtimes
> > Deprecations
> > Scripting language runtimes such as Python, Ruby, and Perl are included in 
> > macOS for compatibility with legacy software. Future versions of macOS 
> > won’t include scripting language runtimes by default, and might require you 
> > to install additional packages. If your software depends on scripting 
> > languages, it’s recommended that you bundle the runtime within the app. 
> > (49764202)
> >
> >
> >
> >> On Aug 3, 2021, at 3:25 PM, Sam Ruby <ru...@intertwingly.net 
> >> <mailto:ru...@intertwingly.net>> wrote:
> >>
> >> On Tue, Aug 3, 2021 at 3:32 PM Craig Russell <apache....@gmail.com 
> >> <mailto:apache....@gmail.com>> wrote:
> >>>
> >>> [MacBook-Pro-10:~] clr% head -1 `which bundle`
> >>> #!/usr/local/opt/ruby/bin/ruby
> >>> [MacBook-Pro-10:~] clr% head -1 `which gem`
> >>> #!/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
> >>
> >> Unless you have a reason to want two versions of Ruby, I would
> >> recommend that you stick with the system installed version.  You
> >> should be able to remove the non-system installed Ruby using:
> >>
> >> $ brew uninstall ruby
> >>
> >> Whether or not you want to do that (and whether or not removing it
> >> works) Try to install/overwrite bundler:
> >>
> >> $ sudo gem install bundler
> >>
> >> If this works (i.e., the two commands at the top of this email
> >> starting with "head -1" now return the same results), try rerunning
> >> setupmymac.
> >
> > I'll try that. I guess if Apple ever does get rid of ruby I can easily 
> > reinstall it.
> >
> > Craig
> >>
> >> - Sam Ruby
> >
> > Craig L Russell
> > c...@apache.org <mailto:c...@apache.org>
> Craig L Russell
> c...@apache.org
>

Reply via email to