LoginSignup
4
5

More than 5 years have passed since last update.

couldn't find file 'jquery.ui.dialog'エラーが出る

Posted at

rails updateした後、以下のようなエラーが出るように

2015/11/06 11:32:15 [ERROR] :: エラー文言。, couldn't find file 'jquery.ui.all'
  (in /home/hoge/workspace/my_apl/app/assets/stylesheets/application.css.erb:10)
2015/11/06 11:32:15 [INFO] ::
        /home/hoge/.rbenv/versions/2.2.3/gemsets/4.0/gems/sprockets-2.12.4/lib/sprockets/context.rb:106:in `resolve'
        /home/hoge/.rbenv/versions/2.2.3/gemsets/4.0/gems/sprockets-2.12.4/lib/sprockets/context.rb:146:in `require_asset'
        /home/hoge/.rbenv/versions/2.2.3/gemsets/4.0/gems/sprockets-2.12.4/lib/sprockets/directive_processor.rb:217:in `process_require_directive'
        /home/hoge/.rbenv/versions/2.2.3/gemsets/4.0/gems/sprockets-2.12.4/lib/sprockets/directive_processor.rb:167:in `block in process_directives'

jquery-ui-railsversion 5.0から指定方法変更されたらしい。参考

  • 変更前
application.js
//= require jquery.ui.dialog
application.css.erb
*= require jquery.ui.dialog
  • 変更後
application.js
//= require jquery-ui
application.css.erb
*= require jquery-ui
4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5