ExecJS::RuntimeError: SyntaxError: Unexpected token operator - ruby-on-rails

RAILS_ENV=production rake assets:precompile --trace
Digest::Digest is deprecated; use Digest
Digest::Digest is deprecated; use Digest
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
ExecJS::RuntimeError: SyntaxError: Unexpected token operator «=», expected punc «,» (line: 159, col: 25, pos: 5132)
Error
at new JS_Parse_Error (/tmp/execjs20161124-23752-1wuk17bjs:3623:11948)
at js_error (/tmp/execjs20161124-23752-1wuk17bjs:3623:12167)
at croak (/tmp/execjs20161124-23752-1wuk17bjs:3623:22038)
at token_error (/tmp/execjs20161124-23752-1wuk17bjs:3623:22175)
at expect_token (/tmp/execjs20161124-23752-1wuk17bjs:3623:22411)
at expect (/tmp/execjs20161124-23752-1wuk17bjs:3623:22562)
at ctor.argnames (/tmp/execjs20161124-23752-1wuk17bjs:3623:27486)
at function_ (/tmp/execjs20161124-23752-1wuk17bjs:3623:27550)
at /tmp/execjs20161124-23752-1wuk17bjs:3623:24469
at /tmp/execjs20161124-23752-1wuk17bjs:3623:22954
new JS_Parse_Error ((execjs):3623:11948)
js_error ((execjs):3623:12167)
croak ((execjs):3623:22038)
token_error ((execjs):3623:22175)
expect_token ((execjs):3623:22411)
expect ((execjs):3623:22562)
ctor.argnames ((execjs):3623:27486)
function_ ((execjs):3623:27550)
(execjs):3623:24469
(execjs):3623:22954
/usr/local/rvm/gems/ruby-2.3.1/gems/execjs-2.7.0/lib/execjs/external_runtime.rb:39:in `exec'
/usr/local/rvm/gems/ruby-2.3.1/gems/execjs-2.7.0/lib/execjs/external_runtime.rb:21:in `eval'
/usr/local/rvm/gems/ruby-2.3.1/gems/execjs-2.7.0/lib/execjs/external_runtime.rb:46:in `call'
/usr/local/rvm/gems/ruby-2.3.1/gems/uglifier-3.0.3/lib/uglifier.rb:182:in `run_uglifyjs'
/usr/local/rvm/gems/ruby-2.3.1/gems/uglifier-3.0.3/lib/uglifier.rb:144:in `compile'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:52:in `call'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:28:in `call'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:75:in `call_processor'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `call_processors'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/loader.rb:60:in `block in load'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/loader.rb:44:in `load'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in `load'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/base.rb:66:in `find_asset'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:142:in `block in find'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:209:in `each'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:209:in `stat_directory'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:227:in `stat_tree'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:231:in `block in stat_tree'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:209:in `each'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:209:in `stat_directory'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:227:in `stat_tree'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:105:in `each'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:104:in `each'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:104:in `logical_paths'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:140:in `find'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:185:in `compile'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-3.7.0/lib/rake/sprocketstask.rb:147:in `with_logger'
/usr/local/rvm/gems/ruby-2.3.1/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/task.rb:248:in `block in execute'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/task.rb:243:in `each'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/task.rb:243:in `execute'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/task.rb:187:in `block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/task.rb:180:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/task.rb:173:in `invoke'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:152:in `invoke_task'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:108:in `block (2 levels) in top_level'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:108:in `each'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:108:in `block in top_level'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:117:in `run_with_threads'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:102:in `top_level'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:80:in `block in run'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:178:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/lib/rake/application.rb:77:in `run'
/usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.1/bin/rake:23:in `load'
/usr/local/rvm/gems/ruby-2.3.1/bin/rake:23:in `<main>'
/usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => assets:precompile
Having the above error and its aborting the assets creation. Any help on how to bypass it as Ajax files on the production is not working.

I know this is old, but I got the same error and I came here from Google, so in case someone does too, this was my solution:
I used this in the console to find the file and the line of the error (took it from this answer):
JS_PATH = "app/assets/javascripts/**/*.js";
Dir[JS_PATH].each do |file_name|
puts "\n#{file_name}"
puts Uglifier.compile(File.read(file_name))
end
My error was that I was using the new ES6 javascript syntax, not compatible with my asset pre-compilation. In specific, defining default parameters in function definition, so I took the solution from this answer:
Instead of:
function foo(a, b = default_b) {
...
}
Use:
function foo(a, b) {
b = typeof b !== 'undefined' ? b : 'default_b';
...
}

Related

What's wrong with favicon.ico, sprockets and rails 5?

I'm getting the following error on my rails app when I try to precompile the assets. With a trace it says the following:
$ RAILS_ENV=production rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
ArgumentError: Unmatched double quote: "asset_path \"favicon.ico\" %>',"
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/shellwords.rb:83:in `block in shellsplit'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/shellwords.rb:81:in `scan'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/shellwords.rb:81:in `shellsplit'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/directive_processor.rb:142:in `block in extract_directives'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/directive_processor.rb:140:in `each'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/directive_processor.rb:140:in `each_with_index'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/directive_processor.rb:140:in `extract_directives'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/directive_processor.rb:117:in `process_source'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/directive_processor.rb:82:in `_call'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/directive_processor.rb:68:in `call'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:75:in `call_processor'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `call_processors'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:60:in `block in load'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:44:in `load'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in `load'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/bundle.rb:23:in `block in call'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/utils.rb:196:in `dfs'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/bundle.rb:24:in `call'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:75:in `call_processor'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `call_processors'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:60:in `block in load'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:44:in `load'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in `load'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/base.rb:66:in `find_asset'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:134:in `block in find'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in `each'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in `find'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:185:in `compile'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-3.7.0/lib/rake/sprocketstask.rb:147:in `with_logger'
/Users/admin/projects/RoR/bubblin/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
Splitting the trace here because stackoverflow wants more words over "code."
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/task.rb:248:in `block in execute'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/task.rb:243:in `each'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/task.rb:243:in `execute'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/task.rb:187:in `block in invoke_with_call_chain'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/task.rb:180:in `invoke_with_call_chain'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/task.rb:173:in `invoke'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:152:in `invoke_task'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `block (2 levels) in top_level'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `each'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `block in top_level'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:117:in `run_with_threads'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:102:in `top_level'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:80:in `block in run'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:178:in `standard_exception_handling'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:77:in `run'
/Users/admin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
/Users/admin/.rbenv/versions/2.3.1/bin/rake:22:in `load'
/Users/admin/.rbenv/versions/2.3.1/bin/rake:22:in `<main>'
Tasks: TOP => assets:precompile
Weird; leave it for a month and something breaks in the meantime.

Rake assets:precompile failed with a Sass syntax error

This seems to be a very awkward error. There are a lots of problems with rake asset:precompile but i didn't find nothing similar to this issue having Sass syntax error.I dont know what file this error occurs.
i'm using rails 5.
root#006230dae323:~/myhomerails# rake assets:precompile --trace RAILS_ENV=production
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
Sass::SyntaxError: Invalid CSS after " color: ": expected expression (e.g. 1px, bold), was ";"
(sass):13586
this is the rest of the log:
rake aborted!
Sass::SyntaxError: Invalid CSS after " color: ": expected expression (e.g. 1px, bold), was ";"
(sass):13586
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:1189:in `expected'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/script/lexer.rb:229:in `expected!'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/script/parser.rb:704:in `assert_expr'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/script/parser.rb:75:in `parse'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:1051:in `sass_script'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:897:in `value!'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:769:in `block in try_declaration'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:1165:in `call'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:1165:in `rethrow'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:782:in `try_declaration'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:711:in `declaration_or_ruleset'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:676:in `block_child'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:665:in `block_contents'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:657:in `block'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:649:in `ruleset'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:675:in `block_child'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:668:in `block_contents'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:125:in `stylesheet'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/scss/parser.rb:41:in `parse'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/engine.rb:406:in `_to_tree'
/usr/local/bundle/gems/sass-3.4.22/lib/sass/engine.rb:281:in `render'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/sass_compressor.rb:48:in `call'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/sass_compressor.rb:28:in `call'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:75:in `call_processor'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `call_processors'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/loader.rb:60:in `block in load'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/loader.rb:44:in `load'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in `yield'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in `load'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/base.rb:66:in `find_asset'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:142:in `block in find'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:209:in `each'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:209:in `stat_directory'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/path_utils.rb:227:in `stat_tree'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:105:in `each'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:104:in `each'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/legacy.rb:104:in `logical_paths'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:140:in `find'
/usr/local/bundle/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:185:in `compile'
/usr/local/bundle/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/usr/local/bundle/gems/sprockets-3.7.0/lib/rake/sprocketstask.rb:147:in `with_logger'
/usr/local/bundle/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/task.rb:248:in `call'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/task.rb:248:in `block in execute'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/task.rb:243:in `each'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/task.rb:243:in `execute'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/task.rb:187:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/task.rb:180:in `invoke_with_call_chain'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/task.rb:173:in `invoke'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:152:in `invoke_task'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:108:in `block (2 levels) in top_level'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:108:in `each'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:108:in `block in top_level'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:117:in `run_with_threads'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:102:in `top_level'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:80:in `block in run'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:178:in `standard_exception_handling'
/usr/local/bundle/gems/rake-11.3.0/lib/rake/application.rb:77:in `run'
/usr/local/bundle/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
/usr/local/bundle/bin/rake:17:in `load'
/usr/local/bundle/bin/rake:17:in `<main>'
Tasks: TOP => assets:precompile

ExecJS runtime error when trying to precompile assets for production in RoR

I've recently tried to precompile the assets of my Rails 4.2.6 CMS app, but I get this error:
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
ExecJS::RuntimeError: SyntaxError: Unexpected token: name (type) (line: 5338, col: 20, pos: 251597)
Error
at new JS_Parse_Error (/tmp/execjs20160728-10032-1xuzmtxjs:3623:11948)
at js_error (/tmp/execjs20160728-10032-1xuzmtxjs:3623:12167)
at croak (/tmp/execjs20160728-10032-1xuzmtxjs:3623:21858)
at token_error (/tmp/execjs20160728-10032-1xuzmtxjs:3623:21995)
at unexpected (/tmp/execjs20160728-10032-1xuzmtxjs:3623:22083)
at as_property_name (/tmp/execjs20160728-10032-1xuzmtxjs:3624:357)
at /tmp/execjs20160728-10032-1xuzmtxjs:3623:31739
at /tmp/execjs20160728-10032-1xuzmtxjs:3623:22774
at expr_atom (/tmp/execjs20160728-10032-1xuzmtxjs:3623:30807)
at maybe_unary (/tmp/execjs20160728-10032-1xuzmtxjs:3624:1562)
at expr_ops (/tmp/execjs20160728-10032-1xuzmtxjs:3624:2333)
at maybe_conditional (/tmp/execjs20160728-10032-1xuzmtxjs:3624:2425)
at maybe_assign (/tmp/execjs20160728-10032-1xuzmtxjs:3624:2868)
new JS_Parse_Error ((execjs):3623:11948)
js_error ((execjs):3623:12167)
croak ((execjs):3623:21858)
token_error ((execjs):3623:21995)
unexpected ((execjs):3623:22083)
as_property_name ((execjs):3624:357)
(execjs):3623:31739
(execjs):3623:22774
expr_atom ((execjs):3623:30807)
maybe_unary ((execjs):3624:1562)
expr_ops ((execjs):3624:2333)
maybe_conditional ((execjs):3624:2425)
maybe_assign ((execjs):3624:2868)
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:39:in `exec'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:21:in `eval'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:46:in `call'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/uglifier-3.0.1/lib/uglifier.rb:179:in `run_uglifyjs'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/uglifier-3.0.1/lib/uglifier.rb:141:in `compile'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:52:in `call'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:28:in `call'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:75:in `call_processor'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:56:in `call_processors'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/loader.rb:60:in `block in load'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/loader.rb:44:in `load'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in `[]'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in `load'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/base.rb:66:in `find_asset'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:134:in `block in find'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in `each'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in `find'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:185:in `compile'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-rails-3.1.1/lib/sprockets/rails/task.rb:68:in `block in define'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-3.7.0/lib/rake/sprocketstask.rb:147:in `with_logger'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/sprockets-rails-3.1.1/lib/sprockets/rails/task.rb:67:in `block in define'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/task.rb:248:in `block in execute'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/task.rb:243:in `each'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/task.rb:243:in `execute'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/task.rb:187:in `block in invoke_with_call_chain'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/stdlib/monitor.rb:214:in `mon_synchronize'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/task.rb:180:in `invoke_with_call_chain'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/task.rb:173:in `invoke'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:152:in `invoke_task'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:108:in `block in top_level'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:108:in `each'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:108:in `block in top_level'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:117:in `run_with_threads'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:102:in `top_level'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:80:in `block in run'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:178:in `standard_exception_handling'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/lib/rake/application.rb:77:in `run'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/lib/ruby/gems/shared/gems/rake-11.2.2/exe/rake:27:in `<top>'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/bin/rake:22:in `load'
/home/vagrant/.rbenv/versions/jruby-9.1.2.0/bin/rake:22:in `<top>'
Tasks: TOP => assets:precompile
I don't know how to find the code that causes this. The app works perfectly in development mode, and I was able to precompile the assets today morning, so I guess I did something today that made this problem occur... Any tips on how to find it?

rake aborted! undefined method `[]' for nil:NilClass

I get this error when I try to precompile assets. I'm fairly new to Rails and dealing with the asset pipeline makes me want to pull my hair out, lol. I get this same error trying it with ruby 1.9.2-p320, or ruby 1.9.3-p448. Using Rails 3.2.13. The hard part for me is looking at the error output and understanding where to look for the error. I don't see a lot of explanations on how to do that. Am I correct that the error is in a rails helper file? If so, where is that?
Here is the rake assets:precompile --trace results:
ruby-1.9.2-p320#stacy1 MARKs-MacBook-Air:stacy1 mark$ rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/Users/mark/.rvm/rubies/ruby-1.9.2-p320/bin/ruby /Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:primary
rake aborted!
undefined method `[]' for nil:NilClass
(in /Users/mark/Documents/projects/hosting/stacy1/app/assets/stylesheets/application.css.scss)
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-rails-3.2.6/lib/sass/rails/helpers.rb:32:in `resolver'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-rails-3.2.6/lib/sass/rails/helpers.rb:25:in `font_url'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/script/funcall.rb:112:in `_perform'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/script/node.rb:40:in `perform'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:298:in `visit_prop'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in `visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `map'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `visit_children'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `block in visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:356:in `visit_directive'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in `visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `map'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `visit_children'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `block in visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:128:in `visit_root'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in `visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:7:in `visit'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/tree/root_node.rb:20:in `render'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/engine.rb:315:in `_render'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-3.2.12/lib/sass/engine.rb:262:in `render'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sass-rails-3.2.6/lib/sass/rails/compressor.rb:12:in `compress'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/compressors.rb:74:in `compress'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/processing.rb:243:in `block in css_compressor='
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/processor.rb:29:in `call'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/processor.rb:29:in `evaluate'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/context.rb:193:in `block in evaluate'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `each'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `evaluate'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb:26:in `initialize'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `new'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `build_asset'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/static_compiler.rb:19:in `block in compile'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `block in each_logical_path'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/static_compiler.rb:18:in `compile'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:56:in `internal_precompile'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/mark/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/mark/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/bin/rake:23:in `load'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [/Users/mark/.rvm/rubies/ruby-1.9.2-p...]
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/file_utils.rb:55:in `block in create_shell_runner'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `call'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `sh'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `sh'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/file_utils.rb:82:in `ruby'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `ruby'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/mark/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/bin/rake:23:in `load'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/bin/rake:23:in `<main>'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/bin/ruby_executable_hooks:15:in `eval'
/Users/mark/.rvm/gems/ruby-1.9.2-p320#stacy1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => assets:precompile`enter code here`
Here is the application.css.scss file:
/*
*= require_self
*= require_tree .
*/
You use image-url(/path/to/file.png) in .css file,change it for url(/assets/path/to/file.png)
I resolved this issue by moving my development to RVM using ruby 2.0.0 and rails 4.0. Everything worked fine after that. I slowly added my files into the new configuration and kept running the precompile to make sure it worked every step of the way. Thanks for everyone's help.

Precompile assets on Rails 3.2.3, rake aborted

I have a Rails 3.2.3 app and on my local machine, it runs fine.
The problem is, when I push to Heroku, I get a rake aborted! message when precompiling assets. On the local machine, I get.
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/Users/victory/.rvm/rubies/ruby-1.9.3-p125/bin/ruby /Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:primary
rake aborted!
File to import not found or unreadable: custom.
Load path: /Users/victory/Documents/chinchin
(in /Users/victory/Documents/chinchin/app/assets/stylesheets/application.css)
(sass):1
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/import_node.rb:64:in `rescue in import'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/import_node.rb:42:in `import'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/import_node.rb:25:in `imported_file'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:149:in `rescue in visit_import'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:154:in `visit_import'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/base.rb:37:in `visit'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:18:in `visit'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/base.rb:53:in `map'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/base.rb:53:in `visit_children'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:27:in `block in visit_children'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:39:in `with_environment'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:26:in `visit_children'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/base.rb:37:in `block in visit'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:47:in `visit_root'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/base.rb:37:in `visit'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:18:in `visit'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/visitors/perform.rb:7:in `visit'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/tree/root_node.rb:20:in `render'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/engine.rb:299:in `_render'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-3.1.18/lib/sass/engine.rb:246:in `render'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sass-rails-3.2.5/lib/sass/rails/compressor.rb:8:in `compress'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/compressors.rb:74:in `compress'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/processing.rb:243:in `block in css_compressor='
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/processor.rb:29:in `call'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/processor.rb:29:in `evaluate'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/context.rb:177:in `block in evaluate'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in `each'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in `evaluate'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/bundled_asset.rb:26:in `initialize'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in `new'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in `build_asset'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in `block in build_asset'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in `cache_asset'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in `build_asset'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in `find_asset'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in `find_asset'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/static_compiler.rb:20:in `block in compile'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:212:in `block in each_logical_path'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:200:in `block (2 levels) in each_file'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each_entry'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:198:in `block in each_file'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each_file'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/sprockets-2.1.3/lib/sprockets/base.rb:210:in `each_logical_path'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/static_compiler.rb:18:in `compile'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/assets.rake:56:in `internal_precompile'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/victory/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/victory/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/bin/rake:19:in `load'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/bin/rake:19:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [/Users/victory/.rvm/rubies/ruby-1.9.3-p125...]
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `sh'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/file_utils.rb:80:in `ruby'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `ruby'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/actionpack-3.2.3/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/victory/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/bin/rake:19:in `load'
/Users/victory/.rvm/gems/ruby-1.9.3-p125#rails3tutorial2ndEd/bin/rake:19:in `<main>'
Tasks: TOP => assets:precompile
In my application.css, I have
#import "custom";
#import "user";
#import "static_pages";
I contain all of my css in custom but user and static_pages is still left blank. Even if I take the first line out, the error occurs for user or static_pages.
Does anyone know how to solve this problem? Everything works fine on localhost.
Make sure those other CSS files have been committed to git.

Resources