问题描述
我试图在Windows 7 64位系统中安装openproject.
I tried to install openproject in windows 7 64 bit.
我遵循了openproject Wiki中提到的步骤,但是无法成功安装,请参见错误日志
I followed the steps mentioned in openproject wiki, but cannot install it successfully, see the error log
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 解决方案,我遇到以下错误
when i tried this Stakeoverflow solution i got the following error
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)
现在,我在安装的最后一步陷入困境.任何人都可以帮助我解决此问题.
Now i was cornered in last step of the installation. Any one Help me to solve this issue.
谢谢.
推荐答案
jquery-migrate已添加到 dcde12a2277 ,它不是当前稳定分支的一部分.当前它只是dev分支的一部分(很快将是4.0).因此,您似乎位于dev分支.
jquery-migrate was added in dcde12a2277 which is not part of the current stable branch. It is currently only part of the dev branch (soon to be 4.0). So you seem to be on the dev branch.
鉴于OP 4.0即将发布,我建议您坚持使用dev分支,这样您就可以省去从3.0到4.0升级的工作.
Given that OP 4.0 will be released very soon, I would advise you to stick to using the dev branch so that you can save yourself the work of upgrading from 3.0 to 4.0.
我自己不是Windows用户,如果您打算已经使用即将发布的4.0版本,则 Martin 的建议是正确,您将需要安装凉亭. 下页面说明了操作方法.
Without being a Windows user myself, if you intend to use the upcoming 4.0 release already, Martin's advise is correct, you will need to install bower. The bower page explains how.
这篇关于Sprockets :: FileNotFound:找不到文件"jquery" openproject的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!