Skip to content

Commit

Permalink
Fixes Apple M1 Issue w/ Docker (#672)
Browse files Browse the repository at this point in the history
* This causes problems in docker+apple m1

  (`ActiveSupport::EventedFileUpdateChecker`
  isn't working on Docker for Apple Silicon (M1) at the moment.)

  More here: evilmartians/terraforming-rails#34

* Make sure we use amd64 for Mac OS X M1 compatibility
  • Loading branch information
etagwerker authored Apr 28, 2022
1 parent 889b921 commit a6e6ef3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,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::EventedFileUpdateChecker
end
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'

volumes:
bundle:
bundle:
driver: local

services:
Expand All @@ -11,6 +11,7 @@ services:
POSTGRES_PASSWORD: uaI7m2kmWd949DMv4dCh

web:
platform: linux/amd64
environment:
PGPASSWORD: uaI7m2kmWd949DMv4dCh
build: .
Expand Down

0 comments on commit a6e6ef3

Please sign in to comment.