我以前试图为一个应用程序制作一个新的rails后端。当我尝试将cd放入应用程序时,终端声明:rvm安装“Ruby-2.6.5”
我正在尝试运行rails服务器,当我这样做时,终端中出现了以下错误:
57: from bin/rails:3:in `<main>'
56: from bin/rails:3:in `load'
55: from /Users/yoyotoo/Desktop/flatiron/pets/pets_backend/bin/spring:15:in `<top (required)>'
54: from /Users/yoyotoo/Desktop/flatiron/pets/pets_backend/bin/spring:15:in `require'
53: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
52: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
51: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
50: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
49: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
48: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
47: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
46: from /Users/yoyotoo/Desktop/flatiron/pets/pets_backend/bin/rails:9:in `<top (required)>'
45: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `require'
44: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:291:in `load_dependency'
43: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `block in require'
42: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
41: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
40: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
39: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
38: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
37: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/railties-6.0.0/lib/rails/commands.rb:18:in `<main>'
36: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/railties-6.0.0/lib/rails/command.rb:46:in `invoke'
35: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/railties-6.0.0/lib/rails/command/base.rb:65:in `perform'
34: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
33: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
32: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
31: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/railties-6.0.0/lib/rails/commands/server/server_command.rb:138:in `perform'
30: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/railties-6.0.0/lib/rails/commands/server/server_command.rb:138:in `tap'
29: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/railties-6.0.0/lib/rails/commands/server/server_command.rb:141:in `block in perform'
28: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `require'
27: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:291:in `load_dependency'
26: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `block in require'
25: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
24: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
23: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
22: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
21: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
20: from /Users/yoyotoo/Desktop/flatiron/pets/pets_backend/config/application.rb:7:in `<main>'
19: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bundler-2.0.2/lib/bundler.rb:114:in `require'
18: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in `require'
17: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in `each'
16: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in `block in require'
15: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in `each'
14: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bundler-2.0.2/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
13: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
12: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
11: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
10: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
9: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
8: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/pg-1.1.4/lib/pg.rb:4:in `<main>'
7: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `require'
6: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:291:in `load_dependency'
5: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `block in require'
4: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
3: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
1: from /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
/Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require': dlopen(/Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/pg-1.1.4/lib/pg_ext.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (LoadError)
Referenced from: /usr/local/opt/postgresql/lib/libpq.5.dylib
Reason: image not found - /Users/yoyotoo/.rvm/gems/ruby-2.6.1/gems/pg-1.1.4/lib/pg_ext.bundle```
please help! thanks!
如果其他人像我刚才一样遇到这个错误,下面是对我有效的方法:
ln -s /usr/local/opt/openssl/lib/libssl.dylib /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
ln -s /usr/local/opt/openssl/lib/libcrypto.1.1.dylib /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
从那以后一切都很好。我猜这个库引用的是一些旧的dylib
文件,并且可以在系统上安装较新的文件。
我通过homebrew安装了Vaper,然后立即想通过执行进入一个项目,但随后在终端中返回了以下消息: 我尝试了一些方法来解决这个问题,比如通过brew卸载和重新安装openssl,但都不起作用。我也尝试了一些我在互联网上找到的东西,但没有效果。我假设它与vapor有关,它只适用于1.0.0版本,而不适用1.1.1版本,这就是我所拥有的。我想我需要降级到1.0.0,但我是怎么做到的?如果有关系的话
使用Electrol-Builder构建Windows应用程序,在注册时,我得到了这个错误:
谁能帮帮我吗?我试图在我的Mac上使用在我的环境中运行Python自动化测试,但出现了这样一个错误: 库未加载:/usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib 但在执行测试期间仍有相同的错误:
我刚刚用homebrew安装了posgresql,当我继续键入命令时 我收到以下错误: 有人知道哪里出了问题吗?
我正在尝试使用QMK进行设置,为Rama M6-c编写我自己的关键地图。 当运行同样用于rama m6-c的“使wilba_tech/rama_工作”m6_b:default时,我不断收到以下消息: dyld:未加载库:/usr/local/opt/isl/lib/libisl。21.dylib 在我的终端内。 错误消息是 编译器内部错误:中止陷阱:6信号终止程序cc1。 我尝试了QMK网站上提到
我试图在我的Mac OS X 10.9上运行CLI Happy ygrep。但是出现了一个错误:Happy ygrep-dyld:库未加载: /usr/local/opt/ncurses/lib/libncursesw.5.dylib. 我是这样安装的: 有人能帮帮我吗?谢谢。