You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

执行tootctl命令时提示缺失concurrent-ruby-1.1.10的解决方法问询

解决方法

以下是针对该问题的常规修复步骤:

  • 通过bundle exec执行命令
    直接使用bundle的执行环境来运行tootctl,确保调用的是bundle安装的gem集合:

    bundle exec ./tootctl media remove --days=7
    
  • 验证bundle安装路径配置
    检查bundle是否指向正确的gem安装目录:

    bundle config get path
    

    如果输出不是../vendor/bundle,重新设置路径后再安装依赖:

    bundle config set path ../vendor/bundle
    bundle install --without development test
    
  • 清理缓存并重新安装依赖
    若上述步骤无效,可尝试清理旧缓存并重新安装(注意:此操作会移除未在Gemfile中声明的gem):

    bundle clean --force
    bundle install --without development test
    

    完成后再次用bundle exec运行tootctl命令。

  • 确认工作目录正确性
    确保运行命令时处于Mastodon的根目录(即包含tootctl文件的目录),避免因路径错误导致的gem查找失败。

内容的提问来源于stack exchange,提问作者Lance McCarthy

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.07 09:40:28