2013-08-30 94 views
0

嘗試按照http://www.howtoforge.com/how-to-migrate-from-trac-to-redmine中所述將trac.11遷移到redmine。我試圖安裝gem install activerecord-sqlite3-adapter 但它也會拋出錯誤「錯誤:無法在任何存儲庫中找到有效的gem'activerecord-sqlite3-adapter'(> = 0)」,安裝替代方法會拋出相同問題將trac遷移到redmine中的問題-123

[email protected]:~/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.) 

回答

1

創業板安裝sqlite3的

的問題是,創業板文件不與 「sqlite3的」

在創業板上市文件中手動更新

gem "sqlite3","1.3.8" 
012更新

in redmine/Gemfile