Can't find 'jquery-ui' Rails 3.2

后端 未结 3 1104
清酒与你
清酒与你 2021-01-03 08:26

I have been looking everywhere to figure out this problem. I already downgraded the jquery-rails gem to 2.3.0 in my gemfile. But when I include jquery-ui in application.js I

3条回答
  •  渐次进展
    2021-01-03 09:20

    I tried downgrade jquery-rails on my application, That works fine.

    1. Put gem 'jquery-rails', "~> 2.3.0" to Gemfile
    2. Remove Gemfile.lock -> rm Gemfile.lock
    3. Run bundle install
    4. Put //= require jquery-ui to application.js
    Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-08 13:16:50
     +0700
    Compiled jquery-ui.js  (27ms)  (pid 7016)
    Compiled application.js  (148ms)  (pid 7016)
    Served asset /application.js - 200 OK (213ms)
    

    Could you post your Gemfile ?

提交回复
热议问题