Ruby on Rails console is hanging when loading

后端 未结 5 2017
梦如初夏
梦如初夏 2020-12-04 10:01

For whatever reason, the Ruby on Rails console refuses to start; it just hangs. I haven\'t made any changes to my code, and other projects using the same version of Ruby and

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 10:44

    It's something wrong with the Spring gem version I guess.

    Go to your Gemfile and comment gem 'spring'. Then run bundle install and try again.

    # gem 'spring'
    

    And then:

    bundle install
    

    If your work depends on the gem, try update the gems by:

    bundle update
    

提交回复
热议问题