#5. bundle install error

Today I was getting one error as,

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


When I dig it, I found that I run a command previously as,

   bundle install --without development test

Result of this command, it's saved by default. Refer here.


Now whenever I run bundle install, I can see that development and test gems are always ignored like,


Here we can see that, development and test environment gems are ignored.

In order to solve this error run as,

bundle config --delete without
After that do bundle install it will install all the gems and that error disappear too.

Comments

Popular posts from this blog

#6. Fetch time in rails

#8. nginx+puma deployment using capistrano

#21. Rails scope