'Spring is troubling rails console to start

When i am trying to execute:

bundle exec rails console

It is throwing me error as:

/gems/spring-3.1.1/lib/spring/application.rb:96:in `preload': Spring only supports Rails >= 5.2.0 (RuntimeError)

Earlier it was working fine. Can anyone help me with a workaround for this.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source