Sprockets :: FileNotFound: Could not find file 'jquery' openproject

I tried to install openproject on Windows 7 64 bit.

I followed the steps given in the openproject wiki but can't install it successfully, see 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)

      

when i tried this storage 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 the last step of the installation. Anyone help me to solve this problem.

Thanks in advance.

+1


source to share


1 answer


jquery-migrate was added in dcde12a2277 , which is not part of the current stable branch. This is currently only part of the dev branch (coming soon 4.0). So you seem to be on the dev branch.

Considering OP 4.0 will be released very soon, I would advise you to use the dev branch so you can save yourself the work of upgrading from 3.0 to 4.0.



Not being a Windows user yourself, if you intend to use the off-the-shelf version 4.0, Martin is advised correctly, you will need to install a gazebo. The bower page explains how.

+1


source







All Articles