4
3

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.

【備忘録】【エラー解決】cannot load such file -- rexml/document (LoadError)

Last updated at Posted at 2021-07-14
$ docker-compose exec app bin/rspec

を実行すると下記のようなエラーが返ってきました。

返ってきたエラー
/usr/local/bundle/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:34:in `require': cannot load such file -- rexml/document (LoadError)
gem 'rexml', '~> 3.2', '>= 3.2.4'

こちらをGemfileに追加したところ、解決しました!

▼参考記事①▼

▼参考記事②▼

4
3
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
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?