Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Ruby 3.0.2 bundle install tries to install rubysl #1358

Closed
dblock opened this issue Feb 27, 2022 · 2 comments
Closed

Ruby 3.0.2 bundle install tries to install rubysl #1358

dblock opened this issue Feb 27, 2022 · 2 comments

Comments

@dblock
Copy link
Contributor

dblock commented Feb 27, 2022

Subject of the issue

Ruby 3.0.2 bundle install complains on rubysl.

Works with Ruby 2.6.5.

$ bundle
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Bundler found conflicting requirements for the Ruby version:
  In Gemfile:
    Ruby

    rspec-expectations was resolved to 3.10.0.pre, which depends on
      Ruby (>= 1.8.7)

    rubysl was resolved to 1.1.0, which depends on
      rubysl-irb (~> 1.0) was resolved to 1.0.2, which depends on
        Ruby (~> 1.8.7)

This gets evaluated somehow:

platforms :rbx do
  gem 'rubysl'
end

Your environment

  • Ruby version: 3.0.2
  • rspec-expectations version: HEAD

Steps to reproduce

export USE_GIT_REPOS=1
rvm use 3.0.2
bundle

Expected behavior

Bundle install should succeed.

Actual behavior

See error above.

@dblock dblock changed the title Ruby 3.0.2 bundle install complains on rubysl Ruby 3.0.2 bundle install tries to install rubysl Feb 27, 2022
@JonRowe JonRowe closed this as completed Feb 27, 2022
@JonRowe
Copy link
Member

JonRowe commented Feb 27, 2022

I'm not sure thats up with your local bundler, try ensuring its on the latest version, that platform should only be run on rubinius.

@dblock
Copy link
Contributor Author

dblock commented Feb 27, 2022

Btw, it looks similar to rubygems/bundler#2774.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants