blackwinter / unicode

Unicode normalization library. (Mirror of Yoshida-san's code base to maintain the RubyGem.)
http://www.yoshidam.net/Ruby.html#unicode
79 stars 13 forks source link

Can't install unicode in ruby 3.2.2 on Mac. #12

Closed palladius closed 1 month ago

palladius commented 1 month ago
$ ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin23]
$ cat Gemfile
source "https://rubygems.org"
ruby "3.2.2"
gem "sqlite3", "~> 1.4" # just for test
gem 'feedjira'
gem 'lolcat' # useless but..
gem 'google-cloud-storage'
gem 'matrix' # to play wtih matrices ..
gem 'neighbor' # to cal;culate similarity: https://www.crunchydata.com/blog/ruby-on-rails-neighbor-gem-for-ai-embeddings
gem "chartkick"
gem "groupdate"
gem 'delayed_job_active_record'
gem 'gemini-ai' # For Gemini
gem 'langchainrb', '~> 0.12.1'
gem "rails", "~> 7.1.3"
gem "sprockets-rails"
gem 'pg', '~> 1.5', '>= 1.5.6'
gem "puma", ">= 5.0"
gem "importmap-rails"
gem "turbo-rails"
gem "stimulus-rails"
gem "tailwindcss-rails"
gem "jbuilder"
gem "redis", ">= 4.0.1"
gem "tzinfo-data", platforms: %i[ mswin mswin64 mingw x64_mingw jruby ]
gem "bootsnap", require: false
group :development, :test do
  gem "debug", platforms: %i[ mri mswin mswin64 mingw x64_mingw ]
end
group :development do
  gem "web-console"
end
group :test do
  gem "capybara"
  gem "selenium-webdriver"
end
$ bundle install
Running `bundle install` with bundler 2.4.21
Some dependencies were deleted, using a subset of the resolution from the lockfile
Source locally installed gems is ignoring #<Bundler::StubSpecification name=yarp version=0.6.0 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=sassc version=2.4.0 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=redcarpet version=3.6.0 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=racc version=1.7.1 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=puma version=5.6.6 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=pg version=1.5.3 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=nio4r version=2.5.9 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=http_parser.rb version=0.8.0 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=ffi version=1.15.5 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=eventmachine version=1.2.7 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=debug version=1.8.0 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=bootsnap version=1.16.0 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=bigdecimal version=3.1.8 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=bcrypt version=3.1.19 platform=ruby> because it is missing extensions
The definition is missing ["langchainrb-0.12.1", "pragmatic_segmenter-0.3.23", "unicode-0.4.4.4"]
HTTP GET https://index.rubygems.org/versions
HTTP 304 Not Modified https://index.rubygems.org/versions
Fetching gem metadata from https://rubygems.org/
Looking up gems ["actioncable", "actionmailbox", "actionmailer", "actionpack", "actiontext", "actionview", "activejob", "activemodel", "activerecord", "activestorage", "activesupport", "addressable", "baran", "base64", "bigdecimal", "bindex", "bootsnap", "builder", "capybara", "chartkick", "colorize", "concurrent-ruby", "connection_pool", "crass", "date", "debug", "declarative", "delayed_job", "delayed_job_active_record", "digest-crc", "drb", "erubi", "ethon", "event_stream_parser", "faraday", "faraday-net_http", "faraday-typhoeus", "feedjira", "ffi", "gemini-ai", "globalid", "google-apis-aiplatform_v1", "google-apis-core", "google-apis-iamcredentials_v1", "google-apis-storage_v1", "google-cloud-core", "google-cloud-env", "google-cloud-errors", "google-cloud-storage", "googleauth", "groupdate", "httpclient", "i18n", "importmap-rails", "io-console", "irb", "jbuilder", "json-schema", "jwt", "langchainrb", "lolcat", "loofah", "mail", "manpages", "marcel", "matrix", "mini_mime", "minitest", "msgpack", "multi_json", "mutex_m", "neighbor", "net-http", "net-imap", "net-pop", "net-protocol", "net-smtp", "nio4r", "nokogiri", "optimist", "os", "paint", "pg", "pragmatic_segmenter", "psych", "public_suffix", "puma", "racc", "rack", "rack-session", "rack-test", "rackup", "rails", "rails-dom-testing", "rails-html-sanitizer", "railties", "rake", "rdoc", "redis", "redis-client", "regexp_parser", "reline", "representable", "retriable", "rexml", "rubyzip", "sax-machine", "selenium-webdriver", "signet", "sprockets", "sprockets-rails", "sqlite3", "stimulus-rails", "stringio", "tailwindcss-rails", "thor", "tiktoken_ruby", "timeout", "to_bool", "trailblazer-option", "turbo-rails", "typhoeus", "tzinfo", "uber", "unicode", "uri", "web-console", "webrick", "websocket", "websocket-driver", "websocket-extensions", "xpath", "zeitwerk"]
Looking up gems ["activemodel-globalid", "memcache-client", "thread_safe", "json", "method_source", "text-format", "bcrypt-ruby", "celluloid", "coffee-rails", "em-hiredis", "faye-websocket", "snappy", "erubis", "rails-deprecated_sanitizer", "mimemagic", "rspec", "rack-mount", "rack-cache", "journey", "arel", "activerecord-deprecated_finders", "hoe", "culerity", "database_cleaner", "mime-types", "celerity", "uglifier", "daemons", "functional-ruby", "ref", "debug_inspector", "iseq_collector", "ruby2_keywords", "multipart-post", "faraday-excon", "faraday-net_http_persistent", "faraday-em_http", "faraday-em_synchrony", "faraday-httpclient", "faraday-patron", "faraday-rack", "faraday-multipart", "faraday-retry", "curb", "faraday_middleware", "httparty", "listen", "logging", "memoist", "google-api-client", "blankslate", "trollop", "cohere-ruby", "milvus", "pinecone", "qdrant-ruby", "ruby-openai", "weaviate-ruby", "eqn", "google_search_results", "wikipedia-client", "treetop", "tlsmail", "digest", "strscan", "io-wait", "weakling", "mini_portile", "mini_portile2", "pkg-config", "jar-dependencies", "rake-compiler", "activeresource", "actionwebservice", "bundler", "hooks", "declarative-option", "rack-ssl", "hike", "tilt", "json_pure", "childprocess", "libwebsocket", "httpadapter", "extlib", "rb_sys", "jquery-rails", "binding_of_caller"]
Looking up gems ["ZenTest", "RubyInline", "atomic", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "coffee-script", "ruby_parser", "bcrypt", "hiredis", "eventmachine", "text-hyphen", "snappy-jars", "abstract", "thin", "rspec-core", "rspec-expectations", "rspec-mocks", "rubyforge", "gemcutter", "multimap", "cucumber", "mime-types-data", "therubyracer", "execjs", "database_cleaner-active_record", "em-http-request", "excon", "net-http-persistent", "jnunemaker-crack", "crack", "multi_xml", "csv", "patron", "curses", "hashie", "oauth2", "roauth", "rb-fchange", "rb-fsevent", "rb-inotify", "rb-kqueue", "celluloid-io", "ruby_dep", "flexmock", "lockfile", "little-plugger", "launchy", "liquid", "sinatra", "autoparse", "uuidtools", "hurley", "virtus", "google-apis-generator", "graphlient", "dry-struct", "dry-validation", "net-ftp", "facets", "polyglot", "ruby-maven", "rails-observers", "activemodel-serializers-xml", "spruz", "english"]
Looking up gems ["CFPropertyList", "sys-admin", "win32-api", "win32console", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "sys-filesystem", "coveralls", "rubocop", "celluloid-gems", "coffee-script-source", "hitimes", "dotenv-deployment", "ParseTree", "sexp_processor", "diff-lcs", "rspec-support", "net-scp", "escape_utils", "em-socksify", "http_parser.rb", "cookiejar", "libv8", "term-ansicolor", "gherkin", "multi_test", "cucumber-core", "gherkin3", "cucumber-wire", "event-bus", "cucumber-expressions", "cucumber-formatter-dots", "cucumber-gherkin", "cucumber-html-formatter", "cucumber-cucumber-expressions", "cucumber-messages", "sys-uname", "cucumber-create-meta", "cucumber-ci-environment", "faraday-middleware", "httpauth", "rash_alt", "version_gem", "snaky_hash", "safe_yaml", "database_cleaner-core", "backports", "descendants_tracker", "axiom-types", "coercible", "equalizer", "configuration", "spoon", "mongrel", "rack-protection", "mustermann", "dry-configurable", "dry-container", "dry-equalizer", "dry-data", "dry-logic", "dry-types", "dry-core", "dry-initializer", "dry-schema", "gems", "google-apis-discovery_v1", "time", "ice_nine", "maven-tools", "ruby-maven-libs", "graphql-client"]
Looking up gems ["test-unit", "ffi-win32-extensions", "rest-client", "simplecov", "tins", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "unicode-display_width", "parallel", "jaro_winkler", "rubocop-ast", "language_server-protocol", "mkrf", "libxml-ruby", "nkf", "SexpProcessor", "net-ssh", "c21e", "cucumber-tag_expressions", "cucumber-tag-expressions", "google-protobuf", "protobuf-cucumber", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "adamantium", "inflecto", "kleisli", "dry-monads", "dry-inflector", "tool", "rash", "graphql"]
Looking up gems ["netrc", "http-cookie", "http-accept", "prism", "sync", "simplecov-html", "docile", "simplecov_json_formatter", "ast", "slop", "power_assert", "middleware", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "ffi-compiler", "memoizable", "parslet"]
Looking up gems ["domain_name", "pattern-match"]
Looking up gems ["unf"]
Looking up gems ["unf_ext"]
Ignoring bcrypt-3.1.19 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.19
Ignoring bigdecimal-3.1.8 because its extensions are not built. Try: gem pristine bigdecimal --version 3.1.8
Ignoring bootsnap-1.16.0 because its extensions are not built. Try: gem pristine bootsnap --version 1.16.0
Ignoring debug-1.8.0 because its extensions are not built. Try: gem pristine debug --version 1.8.0
Ignoring eventmachine-1.2.7 because its extensions are not built. Try: gem pristine eventmachine --version 1.2.7
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring http_parser.rb-0.8.0 because its extensions are not built. Try: gem pristine http_parser.rb --version 0.8.0
Using rake 13.1.0
0:  rake (13.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rake-13.1.0.gemspec
Using connection_pool 2.4.1
Using drb 2.2.1
Using mutex_m 0.2.0
Using builder 3.2.4
Using base64 0.2.0
Using bigdecimal 3.1.7
Using concurrent-ruby 1.2.3
2:  connection_pool (2.4.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/connection_pool-2.4.1.gemspec
Using minitest 5.22.3
Using erubi 1.12.0
Using racc 1.7.3
Using crass 1.0.6
6:  mutex_m (0.2.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/mutex_m-0.2.0.gemspec
0:  base64 (0.2.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/base64-0.2.0.gemspec
Using rack 3.0.10
1:  concurrent-ruby (1.2.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/concurrent-ruby-1.2.3.gemspec
Using nio4r 2.7.1
7:  erubi (1.12.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/erubi-1.12.0.gemspec
4:  racc (1.7.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/racc-1.7.3.gemspec
9:  drb (2.2.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/drb-2.2.1.gemspec
2:  crass (1.0.6) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/crass-1.0.6.gemspec
Using timeout 0.4.1
5:  builder (3.2.4) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/builder-3.2.4.gemspec
Using websocket-extensions 0.1.5
Using zeitwerk 2.6.13
Using marcel 1.0.4
Using mini_mime 1.1.5
2:  marcel (1.0.4) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/marcel-1.0.4.gemspec
Using date 3.3.4
4:  timeout (0.4.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/timeout-0.4.1.gemspec
Using public_suffix 5.0.4
7:  websocket-extensions (0.1.5) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/websocket-extensions-0.1.5.gemspec
Using baran 0.1.11
8:  minitest (5.22.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/minitest-5.22.3.gemspec
7:  baran (0.1.11) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/baran-0.1.11.gemspec
Using bindex 0.8.1
1:  mini_mime (1.1.5) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/mini_mime-1.1.5.gemspec
Using bundler 2.4.21
Using msgpack 1.7.2
5:  bundler (2.4.21) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/bundler-2.4.21.gemspec
Using matrix 0.4.2
9:  zeitwerk (2.6.13) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/zeitwerk-2.6.13.gemspec
Using regexp_parser 2.9.0
8:  bindex (0.8.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/bindex-0.8.1.gemspec
Using chartkick 5.0.6
Using colorize 1.1.0
1:  msgpack (1.7.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/msgpack-1.7.2.gemspec
0:  nio4r (2.7.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/nio4r-2.7.1.gemspec
Using stringio 3.1.0
Using io-console 0.7.2
3:  bigdecimal (3.1.7) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/bigdecimal-3.1.7.gemspec
Using declarative 0.0.20
3:  declarative (0.0.20) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/declarative-0.0.20.gemspec
Using digest-crc 0.6.5
3:  digest-crc (0.6.5) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/digest-crc-0.6.5.gemspec
Using ffi 1.16.3
3:  ffi (1.16.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/ffi-1.16.3.gemspec
6:  rack (3.0.10) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rack-3.0.10.gemspec
Using event_stream_parser 1.0.0
0:  io-console (0.7.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/io-console-0.7.2.gemspec
Using uri 0.13.0
7:  chartkick (5.0.6) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/chartkick-5.0.6.gemspec
Using sax-machine 1.3.2
8:  colorize (1.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/colorize-1.1.0.gemspec
1:  stringio (3.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/stringio-3.1.0.gemspec
Using multi_json 1.15.0
Using os 1.1.4
5:  matrix (0.4.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/matrix-0.4.2.gemspec
9:  regexp_parser (2.9.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/regexp_parser-2.9.0.gemspec
Using httpclient 2.8.3
Using trailblazer-option 0.1.2
2:  date (3.3.4) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/date-3.3.4.gemspec
Using uber 0.1.0
2:  uber (0.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/uber-0.1.0.gemspec
Using retriable 3.1.2
Using rexml 3.2.6
3:  event_stream_parser (1.0.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/event_stream_parser-1.0.0.gemspec
0:  uri (0.13.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/uri-0.13.0.gemspec
Using google-cloud-errors 1.4.0
Using webrick 1.8.1
7:  sax-machine (1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/sax-machine-1.3.2.gemspec
Using thor 1.3.1
6:  retriable (3.1.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/retriable-3.1.2.gemspec
2:  rexml (3.2.6) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rexml-3.2.6.gemspec
5:  httpclient (2.8.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/httpclient-2.8.3.gemspec
Using tiktoken_ruby 0.0.8 (arm64-darwin)
Using to_bool 2.0.0
3:  google-cloud-errors (1.4.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/google-cloud-errors-1.4.0.gemspec
8:  multi_json (1.15.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/multi_json-1.15.0.gemspec
0:  webrick (1.8.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/webrick-1.8.1.gemspec
7:  thor (1.3.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/thor-1.3.1.gemspec
Using manpages 0.6.1
Using optimist 3.0.1
2:  tiktoken_ruby (0.0.8) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/tiktoken_ruby-0.0.8-arm64-darwin.gemspec
5:  to_bool (2.0.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/to_bool-2.0.0.gemspec
Using paint 2.3.0
Using pg 1.5.6
2:  paint (2.3.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/paint-2.3.0.gemspec
3:  manpages (0.6.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/manpages-0.6.1.gemspec
Using rubyzip 2.3.2
Using websocket 1.2.10
7:  optimist (3.0.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/optimist-3.0.1.gemspec
4:  public_suffix (5.0.4) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/public_suffix-5.0.4.gemspec
Using redis-client 0.21.1
Using jwt 2.8.1
Using nokogiri 1.16.3 (arm64-darwin)
2:  rubyzip (2.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rubyzip-2.3.2.gemspec
3:  websocket (1.2.10) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/websocket-1.2.10.gemspec
Using i18n 1.14.4
Using tzinfo 2.0.6
8:  redis-client (0.21.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/redis-client-0.21.1.gemspec
4:  jwt (2.8.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/jwt-2.8.1.gemspec
Using net-protocol 0.2.2
Using sqlite3 1.7.3 (arm64-darwin)
Using websocket-driver 0.7.6
1:  os (1.1.4) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/os-1.1.4.gemspec
2:  i18n (1.14.4) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/i18n-1.14.4.gemspec
Using bootsnap 1.18.3
Using puma 6.4.2
5:  pg (1.5.6) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/pg-1.5.6.gemspec
8:  net-protocol (0.2.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/net-protocol-0.2.2.gemspec
0:  nokogiri (1.16.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/nokogiri-1.16.3-arm64-darwin.gemspec
4:  websocket-driver (0.7.6) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/websocket-driver-0.7.6.gemspec
Using ethon 0.16.0
Using reline 0.5.0
4:  reline (0.5.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/reline-0.5.0.gemspec
Using psych 5.1.2
7:  sqlite3 (1.7.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/sqlite3-1.7.3-arm64-darwin.gemspec
Using rack-session 2.0.0
Using rack-test 2.1.0
7:  rack-session (2.0.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rack-session-2.0.0.gemspec
1:  bootsnap (1.18.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/bootsnap-1.18.3.gemspec
Using sprockets 4.2.1
Using net-http 0.4.1
4:  psych (5.1.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/psych-5.1.2.gemspec
0:  rack-test (2.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rack-test-2.1.0.gemspec
5:  ethon (0.16.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/ethon-0.16.0.gemspec
9:  trailblazer-option (0.1.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/trailblazer-option-0.1.2.gemspec
Using lolcat 100.0.1
7:  sprockets (4.2.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/sprockets-4.2.1.gemspec
Using addressable 2.8.6
9:  addressable (2.8.6) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/addressable-2.8.6.gemspec
Using rackup 2.1.0
Using selenium-webdriver 4.19.0
Using redis 5.1.0
9:  selenium-webdriver (4.19.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/selenium-webdriver-4.19.0.gemspec
8:  lolcat (100.0.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/lolcat-100.0.1.gemspec
Using loofah 2.22.0
8:  loofah (2.22.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/loofah-2.22.0.gemspec
Using xpath 3.2.0
Using net-imap 0.4.10
Using net-pop 0.1.2
0:  redis (5.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/redis-5.1.0.gemspec
Using net-smtp 0.5.0
7:  rackup (2.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rackup-2.1.0.gemspec
Using representable 3.2.0
9:  xpath (3.2.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/xpath-3.2.0.gemspec
Using json-schema 4.3.0
1:  net-http (0.4.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/net-http-0.4.1.gemspec
9:  json-schema (4.3.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/json-schema-4.3.0.gemspec
4:  net-pop (0.1.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/net-pop-0.1.2.gemspec
Using rails-html-sanitizer 1.6.0
3:  tzinfo (2.0.6) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/tzinfo-2.0.6.gemspec
Using feedjira 3.2.3
Using rdoc 6.6.3.1
3:  rdoc (6.6.3.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rdoc-6.6.3.1.gemspec
8:  net-imap (0.4.10) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/net-imap-0.4.10.gemspec
Using activesupport 7.1.3.2
Using capybara 3.40.0
8:  activesupport (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/activesupport-7.1.3.2.gemspec
2:  puma (6.4.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/puma-6.4.2.gemspec
Using irb 1.12.0
Using rails-dom-testing 2.2.0
9:  rails-html-sanitizer (1.6.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rails-html-sanitizer-1.6.0.gemspec
Using globalid 1.2.1
Using activemodel 7.1.3.2
3:  capybara (3.40.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/capybara-3.40.0.gemspec
8:  irb (1.12.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/irb-1.12.0.gemspec
Using delayed_job 4.1.11
4:  feedjira (3.2.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/feedjira-3.2.3.gemspec
Using groupdate 6.4.0
Using faraday-net_http 3.1.0
4:  faraday-net_http (3.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/faraday-net_http-3.1.0.gemspec
0:  net-smtp (0.5.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/net-smtp-0.5.0.gemspec
Using debug 1.9.2
Using mail 2.8.1
4:  debug (1.9.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/debug-1.9.2.gemspec
8:  groupdate (6.4.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/groupdate-6.4.0.gemspec
Using faraday 2.9.0
7:  representable (3.2.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/representable-3.2.0.gemspec
9:  activemodel (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/activemodel-7.1.3.2.gemspec
0:  mail (2.8.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/mail-2.8.1.gemspec
Using typhoeus 1.4.1
4:  faraday (2.9.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/faraday-2.9.0.gemspec
8:  typhoeus (1.4.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/typhoeus-1.4.1.gemspec
Using google-cloud-env 2.1.1
Using signet 0.19.0
3:  delayed_job (4.1.11) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/delayed_job-4.1.11.gemspec
Using faraday-typhoeus 1.1.0
Using activerecord 7.1.3.2
4:  activerecord (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/activerecord-7.1.3.2.gemspec
1:  rails-dom-testing (2.2.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rails-dom-testing-2.2.0.gemspec
Using delayed_job_active_record 4.1.8
Using neighbor 0.3.2
1:  delayed_job_active_record (4.1.8) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/delayed_job_active_record-4.1.8.gemspec
0:  signet (0.19.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/signet-0.19.0.gemspec
Using actionview 7.1.3.2
5:  faraday-typhoeus (1.1.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/faraday-typhoeus-1.1.0.gemspec
2:  globalid (1.2.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/globalid-1.2.1.gemspec
Using activejob 7.1.3.2
5:  activejob (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/activejob-7.1.3.2.gemspec
9:  google-cloud-env (2.1.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/google-cloud-env-2.1.1.gemspec
3:  actionview (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/actionview-7.1.3.2.gemspec
Using jbuilder 2.11.5
Using actionpack 7.1.3.2
8:  jbuilder (2.11.5) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/jbuilder-2.11.5.gemspec
Using google-cloud-core 1.7.0
9:  actionpack (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/actionpack-7.1.3.2.gemspec
Using googleauth 1.11.0
2:  googleauth (1.11.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/googleauth-1.11.0.gemspec
Using actionmailer 7.1.3.2
5:  actionmailer (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/actionmailer-7.1.3.2.gemspec
Using railties 7.1.3.2
Using sprockets-rails 3.4.2
Using actioncable 7.1.3.2
Using activestorage 7.1.3.2
5:  railties (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/railties-7.1.3.2.gemspec
3:  sprockets-rails (3.4.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/sprockets-rails-3.4.2.gemspec
Using gemini-ai 3.2.0
0:  gemini-ai (3.2.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/gemini-ai-3.2.0.gemspec
Using google-apis-core 0.14.1
9:  google-apis-core (0.14.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/google-apis-core-0.14.1.gemspec
Using importmap-rails 2.0.1
0:  importmap-rails (2.0.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/importmap-rails-2.0.1.gemspec
Using web-console 4.2.1
0:  web-console (4.2.1) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/web-console-4.2.1.gemspec
Using stimulus-rails 1.3.3
Using tailwindcss-rails 2.3.0 (arm64-darwin)
Using turbo-rails 2.0.5
Using google-apis-iamcredentials_v1 0.20.0
0:  google-apis-iamcredentials_v1 (0.20.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/google-apis-iamcredentials_v1-0.20.0.gemspec
Using google-apis-storage_v1 0.37.0
8:  google-apis-storage_v1 (0.37.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/google-apis-storage_v1-0.37.0.gemspec
5:  tailwindcss-rails (2.3.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/tailwindcss-rails-2.3.0-arm64-darwin.gemspec
3:  turbo-rails (2.0.5) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/turbo-rails-2.0.5.gemspec
1:  google-cloud-core (1.7.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/google-cloud-core-1.7.0.gemspec
4:  activestorage (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/activestorage-7.1.3.2.gemspec
2:  actioncable (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/actioncable-7.1.3.2.gemspec
Using google-cloud-storage 1.49.0
9:  stimulus-rails (1.3.3) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/stimulus-rails-1.3.3.gemspec
7:  neighbor (0.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/neighbor-0.3.2.gemspec
0:  google-cloud-storage (1.49.0) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/google-cloud-storage-1.49.0.gemspec
Using actionmailbox 7.1.3.2
Using actiontext 7.1.3.2
8:  actionmailbox (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/actionmailbox-7.1.3.2.gemspec
5:  actiontext (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/actiontext-7.1.3.2.gemspec
Using rails 7.1.3.2
3:  rails (7.1.3.2) from /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/rails-7.1.3.2.gemspec
Installing unicode 0.4.4.4 with native extensions
Building native extensions. This could take a while...
Bundler::InstallError: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unicode-0.4.4.4/ext/unicode
/Users/ricc/.rbenv/versions/3.2.2/bin/ruby extconf.rb
creating Makefile

current directory: /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unicode-0.4.4.4/ext/unicode
make DESTDIR\= sitearchdir\=./.gem.20240514-19907-8w1qa2 sitelibdir\=./.gem.20240514-19907-8w1qa2 clean

current directory: /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unicode-0.4.4.4/ext/unicode
make DESTDIR\= sitearchdir\=./.gem.20240514-19907-8w1qa2 sitelibdir\=./.gem.20240514-19907-8w1qa2
compiling unicode.c
unicode.c:37:7: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations]
  if (OBJ_TAINTED(src))
      ^
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:151:25: note: expanded from macro 'OBJ_TAINTED'
#define OBJ_TAINTED     RB_OBJ_TAINTED     /**< @old{RB_OBJ_TAINTED} */
                        ^
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: expanded from macro 'RB_OBJ_TAINTED'
#define RB_OBJ_TAINTED       RB_OBJ_TAINTED
                             ^
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:812:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here
RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea."))
^
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED'
# define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg))
                                                    ^
unicode.c:38:5: warning: 'RB_OBJ_TAINT' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations]
    OBJ_TAINT(obj);
    ^
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:149:25: note: expanded from macro 'OBJ_TAINT'
#define OBJ_TAINT       RB_OBJ_TAINT       /**< @old{RB_OBJ_TAINT} */
                        ^
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:116:30: note: expanded from macro 'RB_OBJ_TAINT'
#define RB_OBJ_TAINT         RB_OBJ_TAINT
                             ^
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:843:1: note: 'RB_OBJ_TAINT' has been explicitly marked deprecated here
RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea."))
^
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED'
# define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg))
                                                    ^
unicode.c:646:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&wstr1, RSTRING_PTR(str1), RSTRING_LEN(str1));
  ~~~~~~~~~~~~~~~~~~~                            ^~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:647:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&wstr2, RSTRING_PTR(str2), RSTRING_LEN(str2));
  ~~~~~~~~~~~~~~~~~~~                            ^~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:688:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&wstr1, RSTRING_PTR(str1), RSTRING_LEN(str1));
  ~~~~~~~~~~~~~~~~~~~                            ^~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:689:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&wstr2, RSTRING_PTR(str2), RSTRING_LEN(str2));
  ~~~~~~~~~~~~~~~~~~~                            ^~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:725:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:751:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:777:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:803:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:830:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr1, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                           ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:860:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr1, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                           ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:890:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr1, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                           ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:919:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:945:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:976:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&ustr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:1039:20: error: incompatible function pointer types passing 'VALUE (get_categories_param *)' (aka 'unsigned long (struct _get_categories_param *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types]
  return rb_ensure(get_categories_internal, (VALUE)&param,
                   ^~~~~~~~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/iterator.h:425:25: note: passing argument to parameter 'b_proc' here
VALUE rb_ensure(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*e_proc)(VALUE), VALUE data2);
                        ^
unicode.c:1040:20: error: incompatible function pointer types passing 'VALUE (WString *)' (aka 'unsigned long (struct _WString *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types]
                   get_categories_ensure, (VALUE)&wstr);
                   ^~~~~~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/iterator.h:425:62: note: passing argument to parameter 'e_proc' here
VALUE rb_ensure(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*e_proc)(VALUE), VALUE data2);
                                                             ^
unicode.c:1037:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&wstr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:1057:20: error: incompatible function pointer types passing 'VALUE (get_categories_param *)' (aka 'unsigned long (struct _get_categories_param *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types]
  return rb_ensure(get_categories_internal, (VALUE)&param,
                   ^~~~~~~~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/iterator.h:425:25: note: passing argument to parameter 'b_proc' here
VALUE rb_ensure(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*e_proc)(VALUE), VALUE data2);
                        ^
unicode.c:1058:20: error: incompatible function pointer types passing 'VALUE (WString *)' (aka 'unsigned long (struct _WString *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types]
                   get_categories_ensure, (VALUE)&wstr);
                   ^~~~~~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/iterator.h:425:62: note: passing argument to parameter 'e_proc' here
VALUE rb_ensure(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*e_proc)(VALUE), VALUE data2);
                                                             ^
unicode.c:1055:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&wstr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:1079:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&wstr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
unicode.c:1227:20: error: incompatible function pointer types passing 'VALUE (get_text_elements_param *)' (aka 'unsigned long (struct _get_text_elements_param *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types]
  return rb_ensure(get_text_elements_internal, (VALUE)&param,
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/iterator.h:425:25: note: passing argument to parameter 'b_proc' here
VALUE rb_ensure(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*e_proc)(VALUE), VALUE data2);
                        ^
unicode.c:1228:20: error: incompatible function pointer types passing 'VALUE (WString *)' (aka 'unsigned long (struct _WString *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types]
                   get_text_elements_ensure, (VALUE)&wstr);
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/iterator.h:425:62: note: passing argument to parameter 'e_proc' here
VALUE rb_ensure(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*e_proc)(VALUE), VALUE data2);
                                                             ^
unicode.c:1225:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  WStr_allocWithUTF8L(&wstr, RSTRING_PTR(str), RSTRING_LEN(str));
  ~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~~
/Users/ricc/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
20 warnings and 6 errors generated.
make: *** [unicode.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unicode-0.4.4.4 for inspection.
Results logged to /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/extensions/arm64-darwin-23/3.2.0/unicode-0.4.4.4/gem_make.out

  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:125:in `run'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:51:in `block in make'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:43:in `each'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:43:in `make'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:42:in `build'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:193:in `build_extension'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:227:in `block in build_extensions'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in `each'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in `build_extensions'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:852:in `build_extensions'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/rubygems_gem_installer.rb:72:in `build_extensions'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/rubygems_gem_installer.rb:28:in `install'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/source/rubygems.rb:203:in `install'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer/gem_installer.rb:54:in `install'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:130:in `do_install'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:121:in `block in worker_pool'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/worker.rb:62:in `apply_func'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/worker.rb:57:in `block in process_queue'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/worker.rb:54:in `loop'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/worker.rb:54:in `process_queue'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing unicode (0.4.4.4), and Bundler cannot continue.

In Gemfile:
  langchainrb was resolved to 0.12.1, which depends on
    pragmatic_segmenter was resolved to 0.3.23, which depends on
      unicode

/Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:164:in `handle_error'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:94:in `call'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:67:in `call'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer.rb:244:in `install_in_parallel'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer.rb:201:in `install'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer.rb:89:in `block in run'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/process_lock.rb:12:in `block in lock'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/process_lock.rb:9:in `open'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/process_lock.rb:9:in `lock'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer.rb:71:in `run'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/installer.rb:23:in `install'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/cli/install.rb:62:in `run'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/cli.rb:261:in `block in install'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/settings.rb:142:in `temporary'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/cli.rb:260:in `install'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/cli.rb:34:in `dispatch'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/cli.rb:28:in `start'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/exe/bundle:37:in `block in <top (required)>'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
  /Users/ricc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.21/exe/bundle:29:in `<top (required)>'
  /Users/ricc/.rbenv/versions/3.2.2/bin/bundle:25:in `load'
  /Users/ricc/.rbenv/versions/3.2.2/bin/bundle:25:in `<main>'
ricc@ricc-macbookpro3:~/git/gemini-news-crawler/webapp$ 🐼 which ruby
/Users/ricc/.rbenv/shims/ruby
palladius commented 1 month ago

Oh wow. This works like a charm:

gem install unicode -- --with-cflags="-Wno-incompatible-function-pointer-types"

Is there a way to put this CFLAGS in the Gemfile so its all declarative?

blackwinter commented 1 month ago

See #11.