Content
jquery.atwho cannot be found after default installation of OP 3.0
Added by kefeng chen over 10 years ago
Hi all,
just for your information, I got the error message below after I tried to visit http://localhost:3000 or precompile the assets:
_Sprockets::FileNotFound: couldn’t find file ‘jquery.atwho’
(in /home/openproject/openproject/app/assets/javascripts/application.js.erb:16)_
It seems that there is a problem with the path of jquery.atwho.js
The jquery.atwho.rails will be installed under the path /.rvm/gems/ruby-2.1.0/gems/jquery-atwho-rails-0.5.0/lib/assets/javascripts/jquery.atwho/ after the default installation. However the rails searching path includes only the path/.rvm/gems/ruby-2.1.0/gems/jquery-atwho-rails-0.5.0/lib/assets/javascripts. Therefore the jquery.atwho.js cannot be found during the runtime.
Might be a bug???
BTW, I know nothing about ruby, rails or ruby on rails. If anything is wrong here, please just ignore it.
Replies (1)
The problem is solved after moved *.js from /.rvm/gems/ruby-2.1.0/gems/jquery-atwho-rails-0.5.0/lib/assets/javascripts/jquery.atwho/ to/.rvm/gems/ruby-2.1.0/gems/jquery-atwho-rails-0.5.0/lib/assets/javascripts/. Now OP is working!!!