我很难找到我的朋友
rails console
正常工作。这是我移植的新MacBookPro,如果有必要的话。
我跑了
bundle
和
bundle update
已经。。。
版本:
红宝石2.3.3
我得到的错误是:
$ rails c
Running via Spring preloader in process 9953
/Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require': dlopen(/Users/joshuacesana/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/x86_64-darwin17/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib (LoadError)
Referenced from: /Users/joshuacesana/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/x86_64-darwin17/readline.bundle
Reason: image not found - /Users/joshuacesana/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/x86_64-darwin17/readline.bundle
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'
from /Users/joshuacesana/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/irb/completion.rb:10:in `<main>'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/commands/console/console_command.rb:4:in `<main>'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/command/behavior.rb:84:in `block (2 levels) in lookup'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/command/behavior.rb:80:in `each'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/command/behavior.rb:80:in `block in lookup'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/command/behavior.rb:79:in `each'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/command/behavior.rb:79:in `lookup'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/command.rb:70:in `find_by_namespace'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/command.rb:44:in `invoke'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/railties-5.2.1/lib/rails/commands.rb:18:in `<main>'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'
from /Users/joshuacesana/code/recipes/bin/rails:9:in `<main>'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:50:in `load'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:50:in `load'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:281:in `block in load'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
from /Users/joshuacesana/.rvm/gems/ruby-2.3.3/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:281:in `load'
from /Users/joshuacesana/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /Users/joshuacesana/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from -e:1:in `<main>'
这是胡说八道,因为StackOverFlow说我需要更多的细节。。。。享受一些回到未来的语录:
好吧,我们是针头。呃,不,不,不,不。你在看什么,笨蛋?你的,你的权利。哇,啊,瑞德,你看起来棒极了。一切看起来都很好。1点24分,我还有时间。哦,我的上帝。不,不,别再这样了,来吧,来吧。嘿。利比亚人。帮我一把,洛伦佐。哦,该死的,老兄,我的手被划伤了。
那是乔治·麦克弗利。磁通电容器。这是正确的。哦,哦,马蒂,给你钥匙。你们都打扮好了,准备好今晚了。回到未来。