General

Profile

getajobmike (Mike Perham)

  • Login: getajobmike
  • Registered on: 04/15/2024
  • Last sign in: 11/18/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 4 5

Activity

11/17/2025

06:53 PM Ruby Bug #21692: Basic gems like `date` require a compiler
mame (Yusuke Endoh) wrote in #note-1:
> I think what you want is `bundle install --prefer-local`. (I wonder why this option is not the default.)
Unfortunately this does not seem to work for me.
```
$ gem list | grep date
date (default:...
getajobmike (Mike Perham)
05:12 PM Ruby Bug #21692 (Open): Basic gems like `date` require a compiler
I'm trying to use Ruby in a high security environment which does not allow a compiler to be installed. This was easy years ago when all of standard library was included with Ruby itself and I could use `apt install ruby`. But as the stan... getajobmike (Mike Perham)

05/12/2025

03:13 PM Ruby Feature #21258: Retire CGI library from Ruby 3.5
CGI may be an "old" protocol but that maturity brings stability. It means I don't need to run an app server process (like puma) at all. I don't need to worry about open ports, memory leaks, resource leaks, connection pooling, etc. It's e... getajobmike (Mike Perham)

03/11/2025

10:42 PM Ruby Bug #21183 (Closed): Ractor error with Prism::VERSION
```
/Users/mperham/.rubies/ruby-3.4.1/lib/ruby/3.4.0/error_highlight/base.rb:88:in 'ErrorHighlight.prism_find': can not access non-shareable objects in constant Prism::VERSION by non-main Ractor. (Ractor::IsolationError)
#<Thread:0x000...
getajobmike (Mike Perham)

03/10/2025

07:47 PM Ruby Bug #21178 (Closed): Socket fails in Ractor
I think these structures need to be frozen.
```
/Users/mperham/.rubies/ruby-3.4.1/lib/ruby/3.4.0/socket.rb:1043:in 'Socket::HostnameResolutionStore#get_addrinfo': can not access non-shareable objects in constant Socket::HostnameResol...
getajobmike (Mike Perham)

12/18/2024

11:20 PM Ruby Bug #20966: Unary plus String warns about freezing
My code:
```
header = +"\x1f\x8b".force_encoding("BINARY")
```
Rubocop says "Use unary plus to get an unfrozen string literal."
But Ruby 3.4rc1 says:
```
profiling_test.rb:49: warning: literal string will be frozen in ...
getajobmike (Mike Perham)
11:17 PM Ruby Bug #20966 (Rejected): Unary plus String warns about freezing
```
/Users/mperham/src/sidekiq/test/profiling_test.rb:49: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
```
getajobmike (Mike Perham)

11/08/2024

10:28 PM Ruby Feature #20882 (Rejected): Provide Boolean(...)
Ruby provides Integer(...) and Float(...) global methods to coerce values. Is there a similar method for Booleans?
I'd like to do something like:
```
# ENV["SOME_FEATURE"] is unset
Boolean(ENV["SOME_FEATURE"]) # => false
# ENV...
getajobmike (Mike Perham)

Also available in: Atom