链轮::FileNotFound:无法';找不到文件';jquery';开放项目
我尝试在64位windows 7中安装openproject 我遵循了openproject wiki中提到的步骤,但无法成功安装,请参阅错误日志链轮::FileNotFound:无法';找不到文件';jquery';开放项目,jquery,ruby-on-rails,openproject,Jquery,Ruby On Rails,Openproject,我尝试在64位windows 7中安装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
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)
当我尝试解决方案时,我得到了以下错误
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)
现在我在安装的最后一步被逼得走投无路了。谁能帮我解决这个问题
提前感谢。添加了jquery migrate,但它不是当前稳定分支的一部分。它目前只是开发分支的一部分(很快将成为4.0)。看来你是在开发部门 鉴于OP4.0将很快发布,我建议您坚持使用dev分支,这样您就可以省去从3.0升级到4.0的工作
如果您本人不是Windows用户,那么如果您打算使用即将发布的4.0版本,您的建议是正确的,那么您需要安装bower。该页面解释了如何操作。这只是一个猜测,但从OpenProject源代码中可以看到,有一个bower.json。您是否运行了
bower安装
?我在openproject文件夹中没有看到任何bower.json,我检查了openprojectI的稳定分支,检查了开发版本,然后我得到了bower.json,这要感谢@Martin