Skip to content

Commit

Permalink
Allow Ruby 3
Browse files Browse the repository at this point in the history
This commit addresses this conflict to support Ruby version 3.

```
% ruby -v
ruby 3.0.0dev (2020-08-31T09:51:59Z master 86737c509c) [x86_64-darwin20]
% bundle
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler found conflicting requirements for the Ruby version:
  In Gemfile:
    Ruby (= 3.0.0)

    listen was resolved to 3.2.1, which depends on
      Ruby (~> 2.2, >= 2.2.7)

Ruby (~> 2.2, >= 2.2.7), which is required by gem 'listen', is not available in the local ruby installation
%
```
Fix #489
  • Loading branch information
yahonda authored and ioquatix committed Sep 7, 2020
1 parent debf5cb commit 819604f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listen.gemspec
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.executable = 'listen'
s.require_path = 'lib'

s.required_ruby_version = ['~> 2.2', '>= 2.2.7']
s.required_ruby_version = ['>= 2.2.7']

s.add_dependency 'rb-fsevent', '~> 0.10', '>= 0.10.3'
s.add_dependency 'rb-inotify', '~> 0.9', '>= 0.9.10'
Expand Down

0 comments on commit 819604f

Please sign in to comment.