Couldn't find file 'jquery-ui'

后端 未结 6 1098
闹比i
闹比i 2020-12-08 09:10

I am getting the following error even if I have jquery-ui in my application.js file

couldn\'t find file \'jquery-ui\' (in /home/jeff/work/projects/a/media/app/asse

6条回答
  •  无人及你
    2020-12-08 09:48

    Kind of a noob mistake, but if it helps anyone..

    I added jQuery-ui.js in my assets and then added the gem. Then deleted the js from assets, but my IDE also deleted the same files from the gem.

    To resolve, first remove the gem and then run,

    bundle clean --force
    

    and then

    bundle install
    

提交回复
热议问题