2014-10-16 2 views
1

Windows 7 64 비트에 openproject를 설치하려고했습니다. Sprockets :: FileNotFound : 파일 'jquery'openproject를 찾을 수 없습니다.

나는 openproject 위키에 설명 된 단계를 따라,하지만 난 지금 내가했던 다음과 같은 오류

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) 

있어 this Stakeoverflow 솔루션을 시도 할 때 오류가

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) 

로그를 참조하십시오 성공적으로 설치할 수 없습니다 임명의 마지막 단계에서 궁지에 몰았다. 어느 누구나이 문제를 해결할 수 있도록 도와주세요.

미리 감사드립니다.

+0

이것은 단지 추측이지만 OpenProject 소스에서 볼 수있는 것부터 bower.json이 있습니다. 'bower install'을 실행 했습니까? – Martin

+0

openproject 폴더에 bower.json이 보이지 않습니다. openproject의 안정된 분기를 체크 아웃했습니다. – JackVimal

+0

dev 버전을 확인한 다음 bower.json을 받았습니다. @Martin에게 감사드립니다. – JackVimal

답변

1

jquery-migrate가 현재 안정 분기의 일부가 아닌 dcde12a2277에 추가되었습니다. 그것은 현재 dev 브랜치의 일부일뿐입니다 (곧 4.0이 될 것입니다). 그래서 개발자 분기점에있는 것 같습니다.

OP 4.0이 곧 출시 될 것이라는 점을 감안할 때 dev 브랜치를 사용하여 3.0에서 4.0으로 업그레이드하는 작업을 스스로 저장할 수 있습니다.

Windows 사용자는 아니지만 곧 출시 예정인 4.0 버전을 사용하려는 경우 Martin 님의 조언이 맞으면 bower를 설치해야합니다. bower 페이지에서 방법을 설명합니다.

관련 문제