2012-02-18 14 views
2

MySQLとSubversionを別々にインストールしたWindows Server 2008 R2があります。ちょうどそれもIISを持っていることを言及する。Windows Server 2008にRedmineをインストールする際の問題

我々は現在、同じサーバー上にRedmineのをインストールし、このページから命令を次のとおりです。

http://www.richardnichols.net/2009/09/1-minute-guide-installing-redmine-on-windows/

我々はステップ無しで打ってきた、これをインストールしている間。レイクのエラーで8が中止されました!これを引き起こし、そしてどのようにこの問題を修正するには何ができるか

C:\Ruby187\Apps\Redmine>rake redmine:load_default_data RAILS_ENV=production 
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on o 
r after 2011-11-01. 
Gem.source_index called from C:/Ruby187/Apps/Redmine/config/../vendor/rails/rail 
ties/lib/rails/gem_dependency.rb:21. 
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be 
removed on or after 2011-11-01. 
Gem::SourceIndex#initialize called from C:/Ruby187/Apps/Redmine/config/../vendor 
/rails/railties/lib/rails/vendor_gem_source_index.rb:100. 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It wi 
ll be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems 
/source_index.rb:91. 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It wi 
ll be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems 
/source_index.rb:91. 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It wi 
ll be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems 
/source_index.rb:91. 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It wi 
ll be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems 
/source_index.rb:91. 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It wi 
ll be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems 
/source_index.rb:91. 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It wi 
ll be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems 
/source_index.rb:91. 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It wi 
ll be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems 
/source_index.rb:91. 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It wi 
ll be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems 
/source_index.rb:91. 
rake aborted! 
Could not find rack (~> 1.1.0) amongst [actionmailer-3.2.1, actionpack-3.2.1, ac 
tivemodel-3.2.1, activerecord-3.2.1, activeresource-3.2.1, activesupport-3.2.1, 
arel-3.0.0, builder-3.0.0, bundler-1.0.22, cgi_multipart_eof_fix-2.5.0, erubis-2 
.7.0, gem_plugin-0.2.3, hike-1.2.1, i18n-0.6.0, journey-1.0.1, json-1.6.5, mail- 
2.4.1, mime-types-1.17.2, mongrel-1.1.5-x86-mingw32, multi_json-1.0.4, mysql-2.8 
.1-x86-mingw32, polyglot-0.3.3, rack-1.4.1, rack-cache-1.1, rack-ssl-1.3.2, rack 
-test-0.6.1, rails-3.2.1, railties-3.2.1, rake-0.9.2.2, rdoc-3.12, sprockets-2.3 
.1, sprockets-2.1.2, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, tzinfo-0.3.31] 

Tasks: TOP => redmine:load_default_data => environment 
(See full trace by running task with –trace) 

:ここ

は、完全なエラーテキストです。私はRORの専門家ではない。


ありがとうございます。あなたのアップデートに従って、私はRuby Gemsのバージョンをダウングレードしました。エラーは変更されましたが、引き続き進めません。正確なエラーは次のとおりです。

C:\Ruby187\Apps\Redmine>gem -v 
1.6.2 

C:\Ruby187\Apps\Redmine>rake db:migrate 
rake aborted! 
RubyGem version error: rack(1.4.1 not ~> 1.1.0) 

Tasks: TOP => db:migrate => environment 
(See full trace by running task with --trace) 

答えて

3

Ruby Gemsのバージョンをダウングレードする必要があるかもしれません。

更新gem update --system 1.6.2

を試してみてください申し訳ありませんが、私はWindows上でRoRのと少し経験を持っています。しかし、基本的にRedmineは古いバージョンのgemを使っているために問題が発生するはずです。

最初にbundle installを実行して、指定したすべての宝石がすでにあるかどうか確認してください。レーキがまだ実行されない場合は、exec rake db:migrateを試してください。

最後に、必要であればブルートフォース。 gem uninstall rackgem install rack -v 1.1.0

これらのアクションの前提は、適切な宝石のバージョンを取得しようとしています。

+0

こんにちはdaemonsy、更新された部分を見てください。 – Krunal

+0

最後に、まだ動作しない場合は、強制的に強制することができます。 'gem uninstall rack'と' gem install rack -v 1.1.0' –

+0

バージョンでのラックのアンインストールとインストールはうまくいきます。ありがとうございました。 :) – Krunal

関連する問題