-
Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile (LoadError)Dev/Ruby On Rails 2020. 2. 11. 16:51반응형
Rails5 또는 6 설치/실행 시 발생하는 에러이며 Gemfile 및 Gemfile.lock 에 정상적으로 'gem 'listen'' 이 설정되어 있는 경우에도 발생한다.
/home/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/ kernel_require.rb:33:in `require': Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile (LoadError)
아래와 같이 실행하면 해결된다.
$ bundle install --with development test
반응형'Dev > Ruby On Rails' 카테고리의 다른 글
Missing `secret_key_base` for 'production' environment (0) 2020.02.22 Webpacker configuration file not found (0) 2020.01.30 Address already in use - bind(2) (Errno::EADDRINUSE) (0) 2019.10.23 rails controller 에 curl post 하는 방법 (0) 2019.10.07 Ruby On Rails 리눅스 상에 처음 설치하기 (0) 2019.10.05