Bundle install with docker + rails6 does not reflect gem

It is a simple memorandum. This is an error while implementing rails6 with docker.

version

docker 2.3 rails 6.0.3 Ruby 2.6.5

problem

SassC :: SyntaxError and'materialize-sass' gem is not loaded.

app/assets/stylesheets/application.scss


@import "materialize";

/Gemfile


gem 'materialize-sass'
gem 'material_icons'

Bundle install in container but still error why. .. ??

Solution

I rebuilt it because there are cases where the cache remains.

docker-compose build --no-cache

Recommended Posts

Bundle install with docker + rails6 does not reflect gem
[Rails] Could not locate Gemfile with bundle install
bundle install does not install mysql2
[Rails] Video does not play with video_tag
Rails deploy with Docker
Install Composer with Docker
Localhost3000 does not start up in Docker / Rails development.
When Docker for Mac 2.4.0.0 does not reflect file changes
Docker Compose does not start with docker.credentials.errors.InitializationError error message
When the server does not start with rails s
Run Rails whenever with docker
[Docker] Rails 5.2 environment construction with docker
[Docker] Use whenever with Docker + Rails
What to do when Rails on Docker does not reflect controller changes in the browser
Rails + MySQL environment construction with Docker
Docker test DB does not start
Build environment with vue.js + rails + docker
mysql2 fails to install with bundle install
Build Rails environment with Docker Compose
How to install Pry after building Rails development environment with Docker
[Environment construction with Docker] Rails 6 & MySQL 8
[Rails 6] MySQL 2 cannot be bundle install
Container does not start with docker-compose
Learn RSpec with Everyday Rails. Until you bundle install the sample app.
When building rails6 environment on Ubuntu, it gets stuck with bundle install
Rails environment construction with Docker (personal apocalypse)
Building Rails 6 and PostgreSQL environment with Docker
Create Rails 6 + MySQL environment with Docker compose
[Rails] How to use rails console with docker
Install Docker Desktop for Mac with Homebrew
Deploy to heroku with Docker (Rails 6, MySQL)
JavaScript (vanilla) does not respond in Rails.
MySQL container does not start in Docker
[Rails] Let's manage constants with config gem
Install Docker with WSL2 Memo ([Part 2] Docker introduction)
How to build Rails 6 environment with Docker
What to do when rails db: seed does not reflect in the database
gem install cocoapods failed ('ruby/config.h' file not found)
Introducing Rspec with Ruby on Rails x Docker
Error in bundle install when running rails new
[Rails] Organize your code neatly with gem active_decorator
Rails6 [API mode] + MySQL5.7 environment construction with Docker
I couldn't install docker with raspberry pi2 b +.
Error with bundle install after upgrading to Catalina
Notes on building Rails6 / PostgreSQL with Docker Compose
[Rails] Bootstrap form-control does not apply to date_select
rails new app is not created with app name
[Rails] How to build an environment with Docker
Deploy Line bot with rails5 + Docker + Heroku Note
Easy to display hello world with Rails + Docker