Opened 2 years ago

Closed 2 years ago

#61966 closed defect (duplicate)

ruby does not support Xcode 12 or later

Reported by: jpmelko Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ruby

Description

port -N -p upgrade outdated"
--->  Computing dependencies for ruby
--->  Fetching archive for ruby
--->  Attempting to fetch ruby-1.8.7-p374_11.darwin_19.x86_64.tbz2 from https://lil.fr.packages.macports.org/ruby
--->  Attempting to fetch ruby-1.8.7-p374_11.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/ruby
--->  Attempting to fetch ruby-1.8.7-p374_11.darwin_19.x86_64.tbz2 from https://packages.macports.org/ruby
--->  Fetching distfiles for ruby
Error: ruby does not support Xcode 12 or later.
Error: Failed to fetch ruby: incompatible Xcode version
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ruby/ruby/main.log for details.

Attachments (1)

main.log (3.1 KB) - added by jpmelko 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by jpmelko

Attachment: main.log added

comment:1 Changed 2 years ago by kencu (Ken)

ruby refers to the ancient ruby18 which is from 2014 and does not support Xcode 12 or later, indeed.

Not that you would want to use it anyway.

Try one of the newer ruby versions, like ruby27 which builds on all newer systems <https://packages.macports.org/ruby27/>

Now -- should:

sudo port install ruby

get you ruby18 instead of ruby27? Probably not, and that is likely a good issue to raise, for those who might not be so versed in their gemstones...

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Port: ruby added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.