You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundler/inline: perform installation from a forked child
Unless of course fork isn't available.
Alternate: #7930, #7933Fix: #7930, #7933
When bundler inline has to install gems, it loads more dependencies than when it
goes through the fast path of all gems being installed.
One of them is `securerandom` so if trying to use bundler/inline with a gem that
have a dependency on securerandom that don't match the default version, the script
fails with `Gem::LoadError`.
This can be preproduced on Ruby 3.2.x, after making sure to `gem uninstall securerandom`
so only the default gem remains, and then running the following script:
```ruby
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'activesupport', '7.2.0' # depends on securerandom >= 0.3
end
require 'securerandom'
```
0 commit comments