1

Windows 7 64ビットにopenprojectをインストールしようとしました。

openproject wiki に記載されている手順に従いましたが、正常にインストールできません。エラー ログを参照してください。

openproject>bundle exec rake assets:precompile
DL is deprecated, please use Fiddle
require 'rails/all'... 1.887s
Bundler.require... 4.181s
*** WARNING: You must use ANSICON 1.31 or higher (https://github.com/adoxa/ansic
on/) to get coloured output on Windows
Application.initialize!... [deprecated] I18n.enforce_available_locales will defa
ult to true in the future. If you really want to skip validation of your locale
you can set I18n.enforce_available_locales = false to avoid this message.
13.447s
rake aborted!
Sprockets::FileNotFound: couldn't find file 'jquery'
  (in C:/OpenProject/openproject/app/assets/javascripts/application.js.erb:13)

Tasks: TOP => assets:precompile
(See full trace by running task with --trace)

このStakeoverflowソリューションを試したところ、次のエラーが発生しました

openproject>bundle exec rake assets:clean assets:precompile
DL is deprecated, please use Fiddle
require 'rails/all'... 1.934s
Bundler.require... 4.321s
*** WARNING: You must use ANSICON 1.31 or higher (https://github.com/adoxa/ansic
on/) to get coloured output on Windows
Application.initialize!... [deprecated] I18n.enforce_available_locales will defa
ult to true in the future. If you really want to skip validation of your locale
you can set I18n.enforce_available_locales = false to avoid this message.
13.135s
rake aborted!
Sprockets::FileNotFound: couldn't find file 'jquery-migrate/jquery-migrate'
  (in C:/OpenProject/openproject/app/assets/javascripts/application.js.erb:14)

Tasks: TOP => assets:precompile
(See full trace by running task with --trace)

今、私はインストールの最後のステップで追い詰められました。この問題を解決するのを手伝ってください。

前もって感謝します。

4

1 に答える 1

1

jquery-migrate は、現在の安定版ブランチの一部ではないdcde12a2277に追加されました。現在、dev ブランチの一部にすぎません (間もなく 4.0 になります)。したがって、あなたは dev ブランチにいるようです。

OP 4.0 がまもなくリリースされることを考えると、3.0 から 4.0 へのアップグレード作業を節約できるように、dev ブランチの使用に固執することをお勧めします。

自分自身が Windows ユーザーでなくても、次の 4.0 リリースを既に使用するつもりなら、Martinのアドバイスは正しいです。bower をインストールする必要があります。バウアーのページでその方法が説明されています。

于 2014-10-17T21:45:15.060 に答える