0

尝试将 trac .11 迁移到 redmine,如http://www.howtoforge.com/how-to-migrate-from-trac-to-redmine中所述。我尝试安装 gem install activerecord-sqlite3-adapter 但它也抛出错误“错误:在任何存储库中找不到有效的 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.)
4

1 回答 1

1

宝石安装 sqlite3

问题是 gem 文件没有用“sqlite3”更新

在 GEM FILE 中手动更新为

gem "sqlite3","1.3.8"

在 redmine/Gemfile

于 2013-08-30T12:51:50.897 回答