General

Profile

fxn (Xavier Noria)

  • Login: fxn
  • Email: fxn@hashref.com
  • Registered on: 03/21/2010
  • Last sign in: 02/19/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 23 26

Activity

02/09/2026

09:32 PM Ruby Revision 51d4c2c4 (git): [ruby/rubygems] Document gemspecs must be deterministic
https://github.com/ruby/rubygems/commit/7cab5cd68f fxn (Xavier Noria)

01/09/2026

09:39 PM Ruby Feature #16848: Allow callables in $LOAD_PATH
BTW, the contract could be to return a file handle (which could be a StringIO) or `nil`. fxn (Xavier Noria)
03:13 PM Ruby Feature #16848: Allow callables in $LOAD_PATH
Hey, just saw this ticket.
I wanted to share as a curiosity that Perl has this: You can store coderefs in `@INC`. That gives you plenty of flexibility.
For example, the Perl Archive Toolkit provides a way to ship projects in one si...
fxn (Xavier Noria)
02:07 PM Ruby Bug #21830: Ruby::Box and Kernel#require
Just in case it matters, let me also add that it is assumed that `Module#autoload` invokes `Kernel#require` as introduced in [cd465d5](https://github.com/ruby/ruby/commit/cd465d552c3a00341f4cb7f1d7a793d0ebcb6cde).
Zeitwerk relies on thi...
fxn (Xavier Noria)
09:48 AM Ruby Bug #21830 (Open): Ruby::Box and Kernel#require
If you enable `Ruby::Box`, decorations to `Kernel#require` do not work.
For example, given _foo.rb_:
```ruby
module M
def require(_path)
puts 'decorated'
super
end
end
Kernel.prepend(M)
p require 'tsort'
``...
fxn (Xavier Noria)

01/06/2026

08:37 PM Ruby Bug #21320: Namespaces leak with constant lookup
Awesome, thank you @tagomoris! fxn (Xavier Noria)
08:35 PM Ruby Bug #21318: Namespaces leak with Module.nesting
Great, thank you! fxn (Xavier Noria)
07:29 PM Ruby Feature #21800: `Dir.scan` to list directory entires with their type
Hi there!
@byroot knows this, but for anyone reading, Zeitwerk essentially scans the file system and sets autoloads for the expected constants.
This feature is going to be great. As in the general case described in the issue descriptio...
fxn (Xavier Noria)

12/07/2025

11:07 PM Ruby Misc #21154: Document or change Module#autoload?
BTW, I do not know if you know it, but while I started working on Zeitwerk to fix autoloading in Rails, I changed my mind in the mid of it and decided to do something more generic that supports multiple autoloaders in the same process ma... fxn (Xavier Noria)
10:29 AM Ruby Misc #21154: Document or change Module#autoload?
Thanks for the example @mame.
In my view, this is more a problem of circularity than a problem of autoload vs require. When you are loading a file, a require is executed and loads a file that needs a constant that was still not defined....
fxn (Xavier Noria)

Also available in: Atom