ActiveAdmin cannot find jquery.ui.datepicker

ActionView::Template::Error (couldn't find file 'jquery.ui.datepicker'
  (in /home/raimat/webapps/keita/gems/bundler/gems/active_admin-2ae0a9e09bf9/app/assets/javascripts/active_admin/base.js.coffee:2)):
     7:   <%= stylesheet_link_tag params[:controller] %>
     8:   <link rel='stylesheet' href='/assets/typicons.min.css'/>
     9:
    10:   <%= javascript_include_tag "application" %>
    11:   <%= javascript_include_tag 'ckeditor/ckeditor.js' %>
    12:
    13:
  app/views/layouts/application.html.erb:10:in `_app_views_layouts_application_html_erb__42414357695359850_50936120'
  app/controllers/home_controller.rb:15:in `index'

This only happens when I try to deploy my application to webfaction ("Production and Development"). I tried this on two different local machines and it goes as smoothly as possible. Edit: I deleted Gemfile.lock on my local computer, and now I am getting this error too.

I tried the solutions found in rails active admin deployment: the jquery-ui file could not be found , but I still remain with the error.

I am using Rails 4.0.2 ActiveAdmin on the main branch I need jquery-rails> ~> 3.1.0 for another gem

Tried to add gem jquery-rails-ui, but still nothing.

Ideas?

+4
1

. , (3 2014 ) jquery-ui-rails, .

gemfile

gem 'jquery-ui-rails', '~> 4.2.1'

application.js

//= require jquery-ui
+8

Source: https://habr.com/ru/post/1547304/


All Articles