我安裝了redmine v1.1.3並使用sqlite。它工作正常,但我無法完成可追溯性插件安裝。爲redmine v1.1.3安裝traceability插件(rake aborted!stack level too deep error)
- 我已下載可追溯性並將其放入「C:\ redmine-1.1.3 \ vendor \ plugins」中。
集RAILS_ENV =生產 耙分貝:遷移命令失敗
C:\ redmine的-1.1.3>耙分貝:遷移--trace (在C:/redmine-1.1.3) **調用數據庫:遷移(first_time) **調用環境(first_time) **執行環境 rake中止! 堆棧級別太深 C:/redmine-1.1.3/lib/redmine/menu_manager.rb:28:
old_initilize' C:/redmine-1.1.3/lib/redmine/menu_manager.rb:28:in
old_initilize' C:/redmine-1.1.3/lib/redmine/menu_manager.rb:28:ininitialize' C:/redmine-1.1.3/lib/redmine/menu_manager.rb:314:in
新' C:/redmine-1.1.3/lib/redmine/menu_manager.rb:314:在initialize' C:/redmine-1.1.3/lib/redmine/menu_manager.rb:299:in
新' C:/redmine-1.1.3/lib/redmine/menu_manager.rb:299:在map' C:/redmine-1.1.3/lib/redmine.rb:148 C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original _require ' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:在require' C:/redmine-1.1.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:1 58:in
需要' C:/redmine-1.1.3/config/initializers/30-redmine.rb:3 C:/redmine-1.1.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:1 47:在load_without_new_constant_marking' C:/redmine-1.1.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:1 47:in
加載' C:/redmine-1.1.3/config/../ vendor/rails/railties/lib/initializer.rb:622:在load _application_initializers' C:/redmine-1.1.3/config/../vendor/rails/railties/lib/initializer.rb:621:in
每個 ' C:/redmine-1.1.3/config/../ vendor /rails/railties/lib/initializer.rb:621:inload _application_initializers' C:/redmine-1.1.3/config/../vendor/rails/railties/lib/initializer.rb:176:in
proc ess' C:/redmine-1.1.3/config/../ vendor/rails/railties/lib/initializer.rb:113:在send ' C:/redmine-1.1.3/config/../vendor/rails/railties/lib/initializer.rb:113:in
運行 'C:/redmine-1.1.3/config/environment.rb:31 C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:在
gem_original _require' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
需要' ç :/redmine-1.1.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:1 56:inrequire' C:/redmine-1.1.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:5 21:in
new_constants_in' C:/redmine-1.1.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:1 56:inrequire' C:/redmine-1.1.3/vendor/rails/railties/lib/tasks/misc.rake:4 C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
call' C:/Ruby187/lib/ruby/gems/1.8/gems/rake- 0.8.7/LIB/rake.rb:636:在execute' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
每個」 C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:在execute' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with_cal l_chain' C:/Ruby187/lib/ruby/1.8/monitor.rb:242:insynchronize' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_cal l_chain' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/ rake.rb:607:在invoke_prerequi sites' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in
每個」 C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:在invoke_prerequi sites' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
invoke_with_cal l_chain' C:/ Ruby187/lib中/紅寶石/ 1.8/monitor.r B:242:在synchronize' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_cal l_chain' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:在invoke' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
invoke_task」 C:/ Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:在top_level' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
每個' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/ LIB/rake.rb:2029:在top_level' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_excep tion_handling ' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:在top_level' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in
運行' ç :/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake。rb:2068:在standard_excep tion_handling' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in
運行' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 C:/ Ruby187/bin/rake:19:in`load 「 C:/ Ruby187 /斌/耙:19
我使用MS XP和
C:\redmine-1.1.3>ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
C:\redmine-1.1.3>gem list
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
i18n (0.4.2)
mysql (2.8.1 x86-mingw32)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
sqlite3 (1.3.3 x86-mingw32)
我得到這個錯誤在兩個Ubuntu的使用MySQL和MS XP與MySQL。在Ubuntu上,我將堆棧大小更改爲無限制,因爲「堆棧級別太深」錯誤,但沒有任何更改。
版本1.2.0已經正式發佈:http://www.redmine.org/projects/redmine/wiki/Changelog#120-2011-05-30。你可以試試嗎? – 2011-06-05 01:19:28