Diary

Rails 7.0.8.7 Update Startup Error "Logger::Severity.constants.each do |severity|"

1 Mins read

Ruby 3.2.6

Ruby on Rails 7.0.8.7

Fails on startup

The cause is the gem

gem 'concurrent-ruby', '1.3.5'

Add to the end of Gemfile and pin it for now

gem 'concurrent-ruby', '1.3.4'

After adding, install

bundle install

# Fetching concurrent-ruby 1.3.4 (was 1.3.5)
# Installing concurrent-ruby 1.3.4 (was 1.3.5)

Error log below

# With gem 'concurrent-ruby', '1.3.5' you get the error below, so pinning to '1.3.4'
#
# bundler: failed to load command: puma (/app-root/vendor/bundle/ruby/3.2.0/bin/puma)
# /app-root/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.7/lib/active_support/logger_thread_safe_level.rb:12:in `<module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
#
# Logger::Severity.constants.each do |severity|
# ^^^^^^^^^^
Read more
Diary

macOS 15 and later: Keychain Access icon removed from Utilities

1 Mins read

Tried to renew a certificate, but the Keychain Access icon is gone?

macOS Sequoia 15 and later changed how you launch it.

A “Passwords” app is now the main thing displayed, and Keychain Access—which engineers need—seems to have been hidden.

The underlying data is probably the same, but the Passwords app is a simplified interface for usability.

How to access it

Hit Command + Space to open Spotlight and type “key”—the icon will show up.

Apple’s official docs cover this too.

Read more
Diary

Remote Desktop Audio Not Working on Windows 11

1 Mins read
  • Situation
    • Audio from remote desktop apps not reaching the host
    • Audio stops working after the remote machine goes to sleep
  • Environment
    • Host: Windows 11 22H2
    • Remote: Windows 11 22H2
  • Solution
    • Search for “service” in Windows search on the remote machine
    • Double-click to open the Services app
    • Select “Windows Audio” service, right-click and choose “Restart the service”
Read more
Diary

Xcode 15.3 Error Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

1 Mins read

Xcode15.3 Error Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

Xcode 15.3 came out, so I checked an existing project and got an error:

Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

Turned out it was crashing around Firebase.

Updated the Firebase package.

SDK Version 10.11 had the error.

SDK Version 10.22 fixed it.

Need to check what changed with the SDK upgrade and if it affects anything else.

Read more