2011-04-14 193 views
1

我試圖安裝管理平臺和http://www.redmine.org/projects/redmine/wiki/RedmineInstall頁上提到的隨後的步驟,但我在一步8得到一個錯誤時,該消息是:問題安裝管理平臺

D:\Permana\Develop\Ruby\redmine-1.1.2>ruby script/server webrick -e production 
=> Booting WEBrick 
=> Rails 2.3.5 application starting on http://0.0.0.0:3000 
D:/Permana/Develop/Ruby/redmine-1.1.2/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:in `requirement': undefined local variable or method `version_requirements' for #<Rails::GemDependency:0x33ca6f8> (NameError) 
     from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:254:in `activate' 
     from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:1204:in `gem' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:73:in `add_load_paths' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/config/../vendor/rails/railties/lib/initializer.rb:301:in `add_gem_load_paths' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/config/../vendor/rails/railties/lib/initializer.rb:301:in `each' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/config/../vendor/rails/railties/lib/initializer.rb:301:in `add_gem_load_paths' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/config/../vendor/rails/railties/lib/initializer.rb:132:in `process' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/config/environment.rb:20 
     from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in`gem_original_require' 
     from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in`require' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
     from D:/Permana/Develop/Ruby/redmine-1.1.2/vendor/rails/railties/lib/commands/server.rb:84 
     from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in`gem_original_require' 
     from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in`require' 
     from script/server:3 

D:\Permana\Develop\Ruby\redmine-1.1.2> 

我嘗試打開http://localhost:3000/並返回404.

我對Ruby on Rails一無所知,但我擅長PHP。在嘗試演示並計劃將其與SVN集成後,我對Redmine非常感興趣

回答

1

這個問題幾乎肯定是您的Ruby Gems版本。 Redmine has problems with version 1.5+ of gems

你係統上的gem -v的輸出會證實它 - 如果它大於1.5.0,你最好安裝一個老版本(直到他們發佈Redmine 1.2,根據該錯誤報告)。

+0

感謝您的simon。它解決了我的問題。但是,還有另一個問題。我如何更新%完成?我找不到應該在哪裏更新%完成值。此外,當我的朋友嘗試通過局域網從另一臺計算機訪問紅礦。 Redmine運行非常緩慢。但它從本地主機運行得非常快(當然) – Permana 2011-04-27 03:19:56