Chris Coetzee

Results 59 comments of Chris Coetzee

Come to think of it, just looking for Gemfile + application config sounds like a good solution @JuPlutonic, should actually work for the dummy-app case as well.

I'm using minitest in a Rails engine and encountered a similar issue. None of the proposed solutions worked for me. I found that adding my autoload paths to `ActiveSupport::Dependencies.autoload_paths` did...

> Sorry, forgot to comment back, we solved it by using unicorn back. So using unicorn instead of puma?

@twelvelabs what do you think would make this acceptable for merge? Maybe splitting off a second initialization method instead?

Hi @jeromedalbert, yes this is still an issue. I've simplified the reproduction repository a bit, so hopefully it's clearer now. Tested on: 1. `ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]` `Bundler...

Here you go: https://github.com/chriscz/bundler-bug/tree/minimal Just do `./main`

Hi @jeromedalbert your explanation looks correct, but as I've explained the README and elsewhere, there are existing gems which do not use Dir.chdir. Furthermore, bundler is not the only way...

Yes, it's not a templating issue. It's an inconsistency in gemspec loading behaviour. In the original reproduction repository I give several examples of how a gem can be added to...

I'm not 100% certain where this occurs, but I would suspect it's in, near or related to: https://github.com/rubygems/rubygems/blob/2fc63d4ebf81f44ca3694952a4dd2b69d4423fb2/bundler/lib/bundler/source/git.rb#L149

Would be great to see this implemented, it's a major oversight imo. Does this extension use any privileged APIs not accessible to user-written extensions, if not, then I guess we...