Skip to content

Commit

Permalink
Remove Listen gem
Browse files Browse the repository at this point in the history
`ActiveSupport::EventedFileUpdateChecker` introduces a dependency on the
Listen gem. The Listen gem brings in
`https://github.com/guard/rb-inotify/` and that gem fails on M1

guard/rb-inotify#107

This may be solveable by declaring something in docker. but I haven't
figured that out.
  • Loading branch information
whit0694 committed Oct 29, 2021
1 parent 9b60c38 commit 0d2b811
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ group :development, :test do
end

group :development do
gem "listen", "~> 3.3"
# gem "listen", "~> 3.3"
gem "spring"
end

Expand Down
7 changes: 0 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ GEM
jbuilder (2.11.2)
activesupport (>= 5.0.0)
jmespath (1.4.0)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.12.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand Down Expand Up @@ -146,9 +143,6 @@ GEM
thor (~> 1.0)
rainbow (3.0.0)
rake (13.0.6)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.1.1)
rexml (3.2.5)
rubocop (1.20.0)
Expand Down Expand Up @@ -219,7 +213,6 @@ DEPENDENCIES
aws-sdk-s3
bootsnap (>= 1.4.4)
jbuilder (~> 2.7)
listen (~> 3.3)
puma (~> 5.0)
rails (~> 6.1.4)
sass-rails (>= 6)
Expand Down
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@

# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
config.file_watcher = ActiveSupport::FileUpdateChecker
end

0 comments on commit 0d2b811

Please sign in to comment.