首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >链轮::FileNotFound:无法找到文件'jquery‘openproject

链轮::FileNotFound:无法找到文件'jquery‘openproject
EN

Stack Overflow用户
提问于 2014-10-16 16:28:19
回答 1查看 1.6K关注 0票数 1

我试图在windows 7 64位中安装openproject。

我遵循了openproject wiki中提到的步骤,但无法成功安装,请参阅错误日志。

代码语言:javascript
复制
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)

当我尝试这桩溢流解决方案时,我得到了以下错误

代码语言:javascript
复制
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)

现在我陷入了安装的最后一步。任何人都能帮我解决这个问题。

提前谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-10-17 21:45:15

jquery是在dcde12a2277中添加的,它不是当前稳定分支的一部分。它目前只是开发分支的一部分(很快就会是4.0)。所以你似乎是在开发部门。

鉴于OP4.0将很快发布,我建议您坚持使用dev分支,这样您就可以省去从3.0升级到4.0的工作。

如果你打算使用即将发布的4.0版本,马丁的建议是正确的,你需要安装保龄球。鲍尔页面解释了如何使用。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26409413

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档