您好,我正在 M1 Monterey 上安装,需要一些帮助。
bundle install 完成后,在执行 db create 时,出现以下错误,提示 symbol not found in flat namespace '___aarch64_ldadd4_acq_rel':
bundle exec rake db:create
rake aborted!
LoadError: dlopen(/Users/$USERID/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/rbtrace-0.4.14/lib/rbtrace.bundle, 0x0009): symbol not found in flat namespace '___aarch64_ldadd4_acq_rel' - /Users/$USERID/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/rbtrace-0.4.14/lib/rbtrace.bundle
/Users/$USERID/discourse/config/environments/development.rb:80:in `block in <main>'
/Users/$USERID/discourse/config/environments/development.rb:3:in `<main>'
/Users/$USERID/discourse/config/environment.rb:7:in `<main>'
/Users/$USERID/.rbenv/versions/2.7.3/bin/bundle:25:in `load'
/Users/$USERID/.rbenv/versions/2.7.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:create => db:load_config => environment
(See full trace by running task with --trace)
谢谢!
1 个赞
pipkin
(Thijs)
2022 年5 月 22 日 10:53
337
执行此命令时:
我遇到了这个错误:
MISCONF Redis 配置为保存 RDB 快照,但目前无法将数据持久化到磁盘。可能修改数据集的命令已被禁用,因为此实例配置为在 RDB 快照失败时报告错误(stop-writes-on-bgsave-error 选项)。请检查 Redis 日志以了解 RDB 错误的详细信息。(Redis::CommandError)
通过重启 Redis 来修复:
brew services restart redis
然后你就可以正常使用了。
5 个赞
我的数据库创建失败:
connection to server on socket "/tmp/.s.PGSQL.5432" failed: fe_sendauth: no password supplied
Couldn't create 'discourse_development' database. Please check your configuration.
我需要为我的 PostGresql 数据库提供用户名和密码吗?
2 个赞
有一段时间了,所以你可能已经解决了,但对于任何遇到同样问题的人来说,你必须安装 ImageMagick,并且可以使用 brew install imagemagick,就像这里 所描述的那样。
1 个赞
rudzainy
(Rudzainy Rahman)
2022 年6 月 7 日 00:46
342
建议:
我认为在原始指南中添加这部分内容很有价值,因为它是一个主要的依赖项
我正在为 Big Sur 的全新安装设置 Discourse。当我运行 bin/ember-cli 时,我意识到我还没有安装 node。根据经验,我可以弄清楚该怎么做。但我设想一个更年轻的我可能无法立即弄清楚,这可能会带来不必要的挫败感
像这样吗?:
从 Discourse 2.5+ 开始,EmberCLI 在开发环境中是必需的,并且需要执行以下附加步骤:
打开一个单独的终端实例。
如果您还没有 node ,请运行以下命令进行安装:
brew install node
导航到您的 discourse 文件夹(cd ~/discourse)并运行:
bin/ember-cli
您现在应该能够访问 http://localhost:4200 来查看您的本地 Discourse 安装。
4 个赞
当我第一次按照这些说明运行 bundle exec rake db:migrate 时,我收到了以下错误:
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /Users/daniel/workspace/discourse/app/assets/javascripts/node_modules/xss/dist/xss.min.js
/Users/daniel/workspace/discourse/lib/pretty_text.rb:612:in `block in ctx_load'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:611:in `each'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:611:in `ctx_load'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:108:in `create_es6_context'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:152:in `block in v8'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:150:in `synchronize'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:150:in `v8'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:304:in `block in escape_emoji'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:605:in `block in protect'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:604:in `synchronize'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:604:in `protect'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:303:in `escape_emoji'
/Users/daniel/workspace/discourse/app/models/emoji.rb:222:in `unicode_unescape'
/Users/daniel/workspace/discourse/app/models/topic.rb:458:in `fancy_title'
/Users/daniel/workspace/discourse/app/models/topic.rb:347:in `block in <class:Topic>'
/Users/daniel/workspace/discourse/app/models/category.rb:300:in `block in create_category_definition'
/Users/daniel/workspace/discourse/app/models/category.rb:295:in `create_category_definition'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:114:in `create_category'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `block (2 levels) in create'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `each'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `block in create'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:14:in `create'
(eval):6:in `block (2 levels) in run_file'
/Users/daniel/workspace/discourse/lib/tasks/db.rake:152:in `block (2 levels) in <main>'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:57:in `block in synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:53:in `synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:53:in `synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:38:in `synchronize'
/Users/daniel/workspace/discourse/lib/tasks/db.rake:132:in `block in <main>'
/Users/daniel/.rbenv/versions/2.7.3/bin/bundle:25:in `load'
/Users/daniel/.rbenv/versions/2.7.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
为了解决这个问题,我不得不先运行 yarn install,然后再运行该命令。
1 个赞
astro
(astro)
2022 年8 月 15 日 20:27
345
帮助
您的 bundle 被锁定在 rubygems 存储库 https://rubygems.org/ 的 webmock (3.16.0) 版本,或者本地安装的版本,但该版本已无法在该源中找到。这意味着 webmock (3.16.0) 的作者已将其移除。您需要更新您的 bundle 到一个未被移除的、非 webmock (3.16.0) 的版本才能进行安装。
编辑:(这似乎是一个更大的问题,我的 bundler 说 ruby 版本太旧,然后我更新了我的 ruby,它仍然说它太旧)
2 个赞
fzngagan
(Faizaan Gagan)
2022 年8 月 19 日 09:19
348
请分享您的终端中 ruby -v 和 which ruby 的输出。
6 个赞
codechef
(codechef)
2022 年8 月 23 日 13:45
349
哎呀,这是开发者的失误
我没意识到我还在一个可能落后于docker镜像很多的旧分支上。切换到当前分支后,我搞定了。希望这能帮到你 @astro 。
1 个赞
如果你在启动 Rails 服务器时遇到类似这样的 PostgreSQL 错误:
Library not loaded: /opt/homebrew/opt/postgresql/lib/libpq.5.dylib
或
(文件不存在),‘/usr/local/lib/libpq.5.dylib’
gem uninstall pg
bundle install
4 个赞
在执行到 bundle exec rake db:create 的步骤时,会发生此错误:
bundle exec rake db:create
rake aborted!
LoadError: dlopen(/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-22/2.7.0/mini_racer-0.6.1/mini_racer_extension.bundle, 0x0005): tried: ‘/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-22/2.7.0/mini_racer-0.6.1/mini_racer_extension.bundle’ (not a mach-o file), ‘/System/Volumes/Preboot/Cryptexes/OS/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-22/2.7.0/mini_racer-0.6.1/mini_racer_extension.bundle’ (no such file), ‘/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-22/2.7.0/mini_racer-0.6.1/mini_racer_extension.bundle’ (not a mach-o file)
/Users/hex/Documents/forums/config/application.rb:69:in `<top (required)>’
/Users/hex/Documents/forums/Rakefile:7:in `require’
/Users/hex/Documents/forums/Rakefile:7:in `<top (required)>’
/Users/hex/.rbenv/versions/2.7.3/bin/bundle:25:in `load’
/Users/hex/.rbenv/versions/2.7.3/bin/bundle:25:in `’
(See full trace by running task with --trace)
– 系统信息 –
操作系统:MacOS 13.0.1
处理器:Intel
Ruby 版本:2.7.3p183
尝试了主分支的最新代码,也尝试了稳定分支。错误都是一样的。
1 个赞
ted
(Ted Johansson)
2022 年12 月 15 日 03:07
352
你好,@Hexadecimal !
请尝试重新安装 mini_racer,看看是否遇到相同的问题。
从你的 discourse 目录:
gem uninstall mini_racer
bundle install
如果你仍然遇到相同的问题,请随意开启一个话题,并附上运行 bundle exec rake db:create --trace 的输出。
5 个赞
kokoyo
(Brian Chan)
2023 年1 月 26 日 11:18
353
Hi. Wondering if anyone is facing this issue when installing?
I’m using MacOS Ventura 13.1.
$ bundle exec rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
OpenSSL::PKey::PKeyError: pkeys are immutable on OpenSSL 3.0
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push/vapid_key.rb:35:in `generate_key!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push/vapid_key.rb:35:in `initialize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push.rb:53:in `new'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push.rb:53:in `generate_key'
/Users/kokoyo/discourse/config/initializers/100-push-notifications.rb:16:in `block in <main>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:445:in `instance_exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:445:in `block in make_lambda'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:686:in `catch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:686:in `block in default_terminator'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:200:in `block in halting'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `block in invoke_before'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `invoke_before'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:106:in `run_callbacks'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/reloader.rb:88:in `prepare!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:32:in `instance_exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:32:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:228:in `block in tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:431:in `each_strongly_connected_component_from'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:349:in `block in each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `call'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:226:in `tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:205:in `tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:60:in `run_initializers'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:372:in `initialize!'
/Users/kokoyo/discourse/config/environment.rb:7:in `<main>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:348:in `require_environment!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:511:in `block in run_tasks_blocks'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/rake:25:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/rake:25:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:58:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:58:in `kernel_load'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:23:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:491:in `exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:34:in `dispatch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:28:in `start'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:45:in `block in <top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:33:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/bundle:25:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
3 个赞
cocococosti
(Constanza Abarca)
2023 年1 月 27 日 21:18
354
您似乎在使用旧版本的 web-push,应该是 3.0.0 版本。
我遇到了同样的问题,通过从 rbenv 卸载并重新安装 3.1.3 版本解决了这个问题:
rbenv uninstall 3.1.3
rbenv install 3.1.3
rbenv rehash
为了更保险起见,我删除了此目录及其内容 discourse/vendor/bundle/ 并再次运行了 bundle install。
5 个赞
Falco
(Falco)
2023 年1 月 30 日 18:56
355
Brian Chan:
web-push-1.0.0
我们不再使用此 gem,请更新您的 bundle。
3 个赞
lmy
(MengyuLi)
2023 年2 月 3 日 23:46
356
大家好,我们需要在本地的 MacOS 上安装 Sidekiq 吗?
因为我看到了下面的消息:
“尚未执行更新检查。请确保 Sidekiq 正在运行。”
我猜我应该在这里看到一个“升级”按钮,但只看到了警告消息。