rails active admin deployment : couldn't find file 'jquery-ui'

前端 未结 6 2260
情深已故
情深已故 2020-12-04 17:03

when trying to deploy with capistrano, when capistrano use command bundle exec rake

    RAILS_ENV=production 
    RAILS_GROUPS=assets 
    assets:precompile         


        
6条回答
  •  我在风中等你
    2020-12-04 17:22

    I know this is already solved. But I want to give one more solution to this that worked for me.

    I am running Rails 4.0.8 when having this issue.

    I simply remove explicit version number for jquery-rails gem jquery-ui-rails gem.

    Mine looks like this essentially:

    # js
    gem 'jquery-ui-rails'
    gem 'jquery-rails'
    
    # rails admin
    gem 'rails_admin'
    

    Gemfile.lock kinda figured out the correct version for all three gems automatically.

提交回复
热议问题