当我使用 git push heroku 时,我想将我的 rails 应用程序推送到 heroku 我得到了这个错误,而且我在 heroku 中的应用程序根本没有改变。我使用导轨 3.27
无法加载此类文件 - uglifier(在 /Users/ehsanvalizadeh/Documents/cafemajale/cafemajale/app/assets/javascripts/application.js)/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/ activesupport-3.2.7/lib/active_support/dependencies.rb:251:in require'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:251:in
block in require' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.7/lib/active_support /dependencies.rb:236:in load_dependency'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:251:in
require' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/compressors.rb:31:inregistered_js_compressor'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/bootstrap.rb:18:in
块在运行' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/compressors.rb:80:incall'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/compressors.rb:80:in
压缩器' /Users/ehsanvalizadeh/.rvm/gems/ ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/compressors.rb:74:incompress'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/processing.rb:265:in
块在 js_compressor=' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/processor.rb:29:incall'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/processor.rb:29:in
评估'/Users/ehsanvalizadeh/。 rvm/gems/ruby-1.9.3-p194/gems/tilt-1.3.3/lib/tilt/template.rb:76:inrender'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/context.rb:177:in
块在评估'/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3 -p194/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:ineach'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in
评估'/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/ lib/sprockets/bundled_asset.rb:26:in initialize'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in
new' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:inbuild_asset'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in
块在 build_asset' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:incache_asset'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in
build_asset' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in find_asset'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in
find_asset' /Users/ehsanvalizadeh/.rvm/gems /ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/static_compiler.rb:23:in block in compile'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:212:in
block in each_logical_path' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/ gems/sprockets-2.1.3/lib/sprockets/base.rb:200:in block (2 levels) in each_file'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in
each' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets /base.rb:190:in each_entry'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:198:in
block in each_file' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in each'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in
each_file ' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/sprockets-2.1.3/lib/sprockets/base.rb:210:ineach_logical_path'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/static_compiler.rb:18:in
编译' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/assets.rake:56:ininternal_precompile'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/assets.rake:70:in
块(3级)' /Users/ehsanvalizadeh /.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/assets.rake:60:in block (3 levels) in <top (required)>'
Tasks: TOP => assets:precompile:primary
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/Users/ehsanvalizadeh/.rvm/rubies/ruby-1.9...]
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/assets.rake:12:in
ruby_rake_task' /Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3 -p194/gems/actionpack-3.2.7/lib/sprockets/assets.rake:21:in invoke_or_reboot_rake_task'
/Users/ehsanvalizadeh/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/sprockets/assets.rake:29:in
block (2 levels) in ' Tasks: TOP => assets:precompile (通过使用 --trace 运行任务查看完整跟踪)