fix
SamuraiCRM/engines/core/test/dummy/config/routes 修改如下
Rails.application.routes.draw do mount Samurai::Core::Engine => "/core" end
SamuraiCRM/engines/core/test/dummy/config/application.rb 修改如下
1 require “samurai/core”
SamuraiCRM/engines/core/samurai_core.gemspec 新增
s.add_dependency 'jquery-rails'
SamuraiCRM/engines/core/lib/samurai/core.rb 新增
1 require 'jquery-rails'