执行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
相关产品推荐
相关产品推荐

