Dev/Ruby On Rails

Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile (LoadError)

Itips 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

 

 

반응형