Bundler attempts to install gems specified with platforms: :mri
on TruffleRuby (and maybe jruby too)
#6333
Labels
platforms: :mri
on TruffleRuby (and maybe jruby too)
#6333
Describe the problem as clearly as you can
Gemfile has:
On TruffleRuby (RUBY_VERSION 3.0.3), bundler 2.4.6 attempts to install fiber_scheduler gem. Ultimately this fails, as fiber_scheduler requires RUBY_VERSION >= 3.1.0
However, bundler should not even attempt to install a gem specified with
platforms: :mri
on TruffleRuby. Per https://bundler.io/v2.4/man/gemfile.5.html#PLATFORMSSee here: https://github.com/rickhull/miner_mover/actions/runs/4067260405/jobs/7004396321#step:6:9
Did you try upgrading rubygems & bundler?
Yes. See here: https://github.com/rickhull/miner_mover/actions/runs/4067260405/jobs/7004396321#step:5:10
Post steps to reproduce the problem
Create Gemfile:
On TruffleRuby 3.0.3, after updating RubyGems and Bundler, run:
bundle install
Which command did you run?
bundle install
What were you expecting to happen?
gem install fiber_scheduler
should not be attemptedWhat actually happened?
bundler attempted to install fiber_scheduler gem on TruffleRuby
The text was updated successfully, but these errors were encountered: