我遇到错误
耙子中止了!
Uglifier :: Error:无效的正则表达式转义
部署到Heroku或运行RAILS_ENV=production bundle exec rake assets:precompile --trace
完整错误是:
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke yarn:install (first_time)
** Execute yarn:install
** Execute assets:precompile
I, [2019-01-06T16:31:02.860737 #2636] INFO -- : Writing E:/newsaas2/public/assets/application-cff3eb1e7c79b6a220c76422387d19d3cdcd0319d147fe5c1aba8fb7b6089084.js
I, [2019-01-06T16:31:02.863141 #2636] INFO -- : Writing E:/newsaas2/public/assets/application-cff3eb1e7c79b6a220c76422387d19d3cdcd0319d147fe5c1aba8fb7b6089084.js.gz
I, [2019-01-06T16:31:02.879652 #2636] INFO -- : Writing E:/newsaas2/public/assets/application-cff3eb1e7c79b6a220c76422387d19d3cdcd0319d147fe5c1aba8fb7b6089084.js
I, [2019-01-06T16:31:02.897995 #2636] INFO -- : Writing E:/newsaas2/public/assets/application-cff3eb1e7c79b6a220c76422387d19d3cdcd0319d147fe5c1aba8fb7b6089084.js.gz
rake aborted!
Uglifier::Error: invalid regexp escape
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/uglifier-4.1.20/lib/uglifier.rb:234:in `parse_result'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/uglifier-4.1.20/lib/uglifier.rb:216:in `run_uglifyjs'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/uglifier-4.1.20/lib/uglifier.rb:168:in `compile'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/compressing.rb:65:in `block in js_compressor='
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy_proc_processor.rb:31:in `call'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in `block in find'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `block in stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `block in stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `block in stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
C:/Ruby25-x64/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
C:/Ruby25-x64/bin/rake:23:in `load'
C:/Ruby25-x64/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile
Bigyan@DESKTOP-5I719JG MINGW64 /e/newsaas2 (master)
$ RAILS_ENV=production bundle exec rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke yarn:install (first_time)
** Execute yarn:install
** Execute assets:precompile
I, [2019-01-06T17:33:40.569957 #16136] INFO -- : Writing E:/newsaas2/public/assets/application-34e8e779be22c1a4375535cb78a049f9a7ee6247d109de68a44a7af2f85ca6fd.js
I, [2019-01-06T17:33:40.571250 #16136] INFO -- : Writing E:/newsaas2/public/assets/application-34e8e779be22c1a4375535cb78a049f9a7ee6247d109de68a44a7af2f85ca6fd.js.gz
I, [2019-01-06T17:33:40.576063 #16136] INFO -- : Writing E:/newsaas2/public/assets/application-34e8e779be22c1a4375535cb78a049f9a7ee6247d109de68a44a7af2f85ca6fd.js
I, [2019-01-06T17:33:40.577014 #16136] INFO -- : Writing E:/newsaas2/public/assets/application-34e8e779be22c1a4375535cb78a049f9a7ee6247d109de68a44a7af2f85ca6fd.js.gz
rake aborted!
Uglifier::Error: invalid regexp escape
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/uglifier-4.1.20/lib/uglifier.rb:234:in `parse_result'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/uglifier-4.1.20/lib/uglifier.rb:216:in `run_uglifyjs'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/uglifier-4.1.20/lib/uglifier.rb:168:in `compile'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/compressing.rb:65:in `block in js_compressor='
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy_proc_processor.rb:31:in `call'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in `block in find'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `block in stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `block in stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `block in stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
C:/Ruby25-x64/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
C:/Ruby25-x64/bin/rake:23:in `load'
C:/Ruby25-x64/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile
如果我在本地进行assests:precompile,则不会生成错误。我提到了这个问题Rails 3.1 Possible Bug in Asset Pipeline and Uglifier
建议检查JS文件中的拼写错误和语法错误。
但是事实是,除了默认的Application.js,我什至没有Js文件。
它看起来像这样:
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
// vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file. JavaScript code in this file should be added after the last require_* statement.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require bootstrap
//= require turbolinks
//= require_tree .
我该如何解决?