尝试将trac .11迁移到redmine,如http://www.howtoforge.com/how-to-migrate-from-trac-to-redmine中所述。我试图安装gem install activerecord-sqlite3-adapter 但它也会在任何存储库中抛出错误“ERROR:找不到有效的gem'activerecord-sqlite3-adapter'(> = 0)”,安装替代方案会引发同样的问题
user@user:~/redmine-2.3$ rake redmine:migrate_from_trac RAILS_ENV="production" --trac
** Invoke redmine:migrate_from_trac (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:migrate_from_trac
WARNING: a new project will be added to Redmine during this process.
Are you sure you want to continue ? [y/N] y
Trac directory []: /home/sree/mytracproject
Trac database adapter (sqlite3, mysql2, postgresql) [sqlite3]:
Trac database encoding [UTF-8]:
Target project identifier []: mytracproject
This project already exists in your Redmine database.
Are you sure you want to append data to this project ? [Y/n] y
rake aborted!
Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (sqlite3 is not part of the bundle. Add it to Gemfile.)
答案 0 :(得分:1)
gem install sqlite3
问题是gem文件没有使用“sqlite3”进行更新
在GEM FILE手动更新为
gem "sqlite3","1.3.8"