Rails、gems、require、zsh 和一条错误消息!由于与 "require" 相关的问题,我无法加载我的应用
Rails, gems, require, zsh and an error message! I can't load my app because of an issue related to "require"
因此,我尝试修复一些与我的 ZSH 文件相关但无法正常工作的东西,我设法做到了,但最终显然破坏了其他一些东西:/
无论如何,我试图在本地 运行 我的应用程序(实际上我所有的应用程序 运行 都遇到了完全相同的问题)并且它没有启动。我在终端中得到一长串脚本,如下所示:
122: from /home/olivier/code/OGsoundFX/rails-mister-cocktail/bin/spring:15:in `<top (required)>'
121: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
120: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
119: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
118: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
117: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
116: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
115: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
114: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
113: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
我不是专家,差远了,有点迷茫。看起来这与"require"有关。今天早上一切正常,然后我解决了另一个问题,并解决了这个问题。
任何的想法?谢谢!
好的,我解决了,只是出于某种原因我需要 'bundle update'。我试了好几次'bundle install',因为这个问题看起来确实和gems有关,但是我没有想到更新gems。
因此,我尝试修复一些与我的 ZSH 文件相关但无法正常工作的东西,我设法做到了,但最终显然破坏了其他一些东西:/ 无论如何,我试图在本地 运行 我的应用程序(实际上我所有的应用程序 运行 都遇到了完全相同的问题)并且它没有启动。我在终端中得到一长串脚本,如下所示:
122: from /home/olivier/code/OGsoundFX/rails-mister-cocktail/bin/spring:15:in `<top (required)>'
121: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
120: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
119: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
118: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
117: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
116: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
115: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
114: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
113: from /home/olivier/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
我不是专家,差远了,有点迷茫。看起来这与"require"有关。今天早上一切正常,然后我解决了另一个问题,并解决了这个问题。 任何的想法?谢谢!
好的,我解决了,只是出于某种原因我需要 'bundle update'。我试了好几次'bundle install',因为这个问题看起来确实和gems有关,但是我没有想到更新gems。