当我按照指南操作并运行导入脚本时,我遇到了以下错误。我按照这些说明安装了 discourse。
myuser@tmp-discourse:~/discourse$ IMPORT=1 bundle && IMPORT=1 bundle exec ruby script/import_scripts/bbpress.rb
[!] 解析 `Gemfile` 时出错:您不能为同一个 gem 指定不同的版本要求。
您指定了:sqlite3 (~> 1.3, >= 1.3.13) 和 sqlite3 (>= 0)。Bundler 无法继续。
# 来自 /home/myuser/discourse/Gemfile:251
# -------------------------------------------
# group :generic_import, optional: true do
> gem "sqlite3"
# gem "redcarpet"
# -------------------------------------------