Sprockets::FileNotFound jquery.atwho

Sprockets::FileNotFound jquery.atwho

我正在尝试添加 jquery-atwho-rails to my app, which is a rails gem for at.js,我已按照说明进行操作,运行 bundle install,已将所需代码添加到 application.jsapplication.css, 停止并重新启动服务器,但我总是不断收到此错误:

couldn't find file 'jquery.atwho'

我不知道如何解决这个错误,有人可以帮我解决这个问题吗?提前致谢。

Gemfile

gem 'rails', '3.2.13'

gem 'jquery-rails', '~> 2.3.0'
gem 'simple_form'
gem 'devise'
gem 'paperclip'
gem 'acts_as_follower', '~> 0.1.1'
gem 'js-routes'
gem 'acts-as-taggable-on', '~> 2.4.1'
gem 'aws-sdk', '< 2.0'
gem 'will_paginate'
gem 'bootstrap-will_paginate'
gem 'acts_as_votable', '~> 0.8.0'
gem 'rinku'
gem 'sunspot_rails'
gem 'progress_bar'
gem 'swf_fu', '~> 2.0'
gem 'delayed_job_active_record'
gem 'auto_html'
gem 'mailboxer'
gem 'remotipart', '~> 1.2'
gem 'private_pub'
gem 'thin'
gem 'activeadmin'
gem 'randumb'
gem 'figaro'
gem "auto_strip_attributes", "~> 2.0"
gem "font-awesome-rails"
gem "wysiwyg-rails"
gem 'rails_engine_decorators'
gem 'jquery-atwho-rails'

group :development, :test do
    gem 'shoulda'
    gem 'factory_girl_rails'
    gem 'sqlite3'
    gem 'sunspot_solr'
    gem 'debugger'
end 

group :production do
    gem 'pg'
end 

group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'uglifier', '>= 1.0.3'
end

application.js

//= require jquery
//= require jquery_ujs
//= require js-routes
//= require swf_fu
//= require soundmanager2-nodebug
//= require jquery.remotipart
//= require private_pub
//= require froala_editor.min.js
//= require plugins/lists.min.js
//= require plugins/char_counter.min.js
//= require plugins/fullscreen.min.js
//= require jquery.atwho
//= require_tree .

application.css

*= require_self
*= require redactor-rails
*= require froala_editor.min.css
*= require froala_style.min.css
*= require font-awesome
*= require jquery.atwho
*= require_tree .

我不知道这是否是 gem 的问题,但我最终卸载了它并将 jquery.atwho.jsjquery.atwho.csscaret.js 直接添加到我的资产和一切都开始正常工作。