Skip to content

Upgrading listen currently forces a Ruby upgrade on its users #409

Description

@Confusion

Since version 3.1.2, your listen.rb includes

require 'ruby_dep/warning'                                                      
RubyDep::Warning.new.show_warnings  

This suggests it just causes warnings, but in fact it causes a bundle update to fail with

Gem::InstallError: ruby_dep requires Ruby version >= 2.2.5, ~> 2.2.

if you are e.g. on Ruby 2.2.4. We are fully aware of the problems with Ruby 2.2.4, but at the moment we are stuck with it. We would nevertheless like to be able to upgrade our gem dependencies and the 'show_warnings' shown above prevents that.

Would it be possible to move this code to a test/development/qa part of your gem? Or depend on a different version of ruby_dep with more lenient dependencies? Do you really only support 2.2.5+?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions