Content
Error in Centos 6.5 Postgresql 9.3 documentation
Added by john doe over 10 years ago
Hello,
At this step in the documentation
*Precompile OpenProjects assets
[openproject@centos]# RAILS_ENV=“production” bundle exec rake assets:precompile
[openproject@centos]# RAILS_ENV=“development” bundle exec rake assets:precompile*
Commands returns fail rake execution :1234:
[openproject
openproject openproject]$ RAILS_ENV=“production” bundle exec rake assets:precompile
require ‘rails/all’… 0.280s
Bundler.require… 0.810s
/home/openproject/.rvm/rubies/ruby-2.1.0/bin/ruby /home/openproject/.rvm/rubies/ruby-2.1.0/bin/rake assets:precompile:all RAILS_ENV=producti
on RAILS_GROUPS=assets
require ‘rails/all’… 0.250s
Bundler.require… 0.770s
*Application.initialize!… [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip valida
tion of your locale you can set I18n.enforce_available_locales = false to avoid this message.
1.440s
rake aborted!
couldn’t find file ‘jquery’*
(in /home/openproject/openproject/app/assets/javascripts/application.js.erb:13)
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/context.rb:106:in `resolve’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/context.rb:146:in `require_asset’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/directive_processor.rb:217:in `process_require_directive
’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/directive_processor.rb:167:in `block in process_directiv
es’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/directive_processor.rb:165:in `each’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/directive_processor.rb:165:in `process_directives’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/directive_processor.rb:99:in `evaluate’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/context.rb:197:in `block in evaluate’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/context.rb:194:in `each’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/context.rb:194:in `evaluate’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/sprockets-2.2.2.backport2/lib/sprockets/processed_asset.rb:12:in `initialize’@
Replies (2)
This documentation doesn’t works
After installation i have an Internal Error with this logs
[Thu May 22 13:12:57 2014] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/4.0.42 DAV/2 configured -- resuming normal operations App 1049 stdout: App 1049 stdout: require 'rails/all'... 0.270s App 1049 stdout: Bundler.require... 0.800s App 1049 stderr: [deprecated] I18n.enforce_available_locales will default 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. App 1049 stderr: /home/openproject/.rvm/gems/ruby-2.1.0/gems/svg-graph-1.0.5/lib/SVG/Graph/Graph.rb:3: warning: class variable access from toplevel App 1049 stdout: Application.initialize!... 2.140s [ 2014-05-22 13:13:12.0517 1002/7f6de55bd700 Pool2/SmartSpawner.h:301 ]: Preloader for /home/openproject/openproject started on PID 1049, listening on unix:/tmp/passenger.1.0.997/generation-0/backends/preloader.1049 App 1172 stdout:
Dear Crowd,
I can confirm the error
@ Writing /usr/local/rails/openproject/public/assets/wiki_styles/tip_small-361b494aeebdec2a03dc4354d51a5768.png
Writing /usr/local/rails/openproject/public/assets/accessibility-41de01f26424125d6aa751c5589edc28.js
Writing /usr/local/rails/openproject/public/assets/admin_users-740811a10f9ad4915d0e09d5caa10485.js
rake aborted!
Sprockets::FileNotFound: couldn’t find file ‘jquery’
(in /usr/local/rails/openproject/app/assets/javascripts/application.js.erb:13)@
using OpenProject stable branch from git on FreeBSD.
This only happened since my last git pull, so I assume it is a matter of the latest code change.
Any ideas? Thanks a lot,
Chris