0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

docker+rails6でbundle installを行うもgemが反映しない

Last updated at Posted at 2020-12-31

簡単な忘備録です。
rails6をdockerで実装中のエラーです。

バージョン

docker 2.3
rails 6.0.3
Ruby 2.6.5

問題

SassC::SyntaxErrorとなり、'materialize-sass'のgemが読み込まれない事案が発生。

app/assets/stylesheets/application.scss
@import "materialize";
/Gemfile
gem 'materialize-sass'
gem 'material_icons'

コンテナ内でbundle installを行うも、以前としてエラー
なぜ。。?

解決法

キャッシュが残るケースがあるとのことでビルドしなおしました。

docker-compose build --no-cache
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?