Asset precompiling with bitnami on EC2 - ruby-on-rails

Did anyone sees the error?
It occurs when precompiling assets in an bitnami-ruby-environment. When running local everything works fine. I'm using nodejs instead of (execjs and therubyracer).
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/opt/bitnami/ruby/bin/ruby /webapps/appseeker/shared/bundle/ruby/1.9.1/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!
795: unexpected token at 'node: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by node)
node: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by node)
node: /opt/bitnami/common/lib/libssl.so.1.0.0: no version information available (required by node)
["ok","(function() {\n\n window.AA = {};\n\n}).call(this);\n"]'
(in /webapps/appseeker/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-cc687d7d1615/app/assets/javascripts/active_admin/lib/namespace.js.coffee)
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/json-1.7.5/lib/json/common.rb:155:in `parse'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/json-1.7.5/lib/json/common.rb:155:in `parse'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/multi_json-1.5.0/lib/multi_json/adapters/json_common.rb:7:in `load'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/multi_json-1.5.0/lib/multi_json.rb:96:in `load'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/json.rb:7:in `decode'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:62:in `extract_result'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:28:in `block in exec'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:41:in `compile_to_tempfile'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:27:in `exec'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:19:in `eval'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:33:in `call'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:57:in `compile'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/coffee.rb:46:in `evaluate'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/context.rb:177:in `block in evaluate'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in `each'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in `evaluate'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:12:in `initialize'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in `new'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:262:in `circular_call_protection'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:240:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in `cache_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:106:in `block in build_required_assets'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in `each'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in `build_required_assets'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:16:in `initialize'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in `new'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:262:in `circular_call_protection'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:240:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in `cache_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:106:in `block in build_required_assets'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in `each'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in `build_required_assets'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:16:in `initialize'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in `new'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:262:in `circular_call_protection'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:240:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in `cache_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:106:in `block in build_required_assets'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in `each'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in `build_required_assets'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:16:in `initialize'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in `new'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:262:in `circular_call_protection'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:240:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in `cache_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/bundled_asset.rb:16:in `initialize'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in `new'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in `block in build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in `cache_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in `build_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in `find_asset'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/sprockets/static_compiler.rb:20:in `block in compile'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:212:in `block in each_logical_path'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:200:in `block (2 levels) in each_file'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each_entry'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:198:in `block in each_file'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each_file'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:210:in `each_logical_path'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/sprockets/static_compiler.rb:18:in `compile'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/sprockets/assets.rake:56:in `internal_precompile'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:in `block in execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:in `block in execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:143:in `invoke_task'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:in `block in top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:73:in `block in run'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/bin/rake:33:in `<top (required)>'
/webapps/appseeker/shared/bundle/ruby/1.9.1/bin/rake:23:in `load'
/webapps/appseeker/shared/bundle/ruby/1.9.1/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [/opt/bitnami/ruby/bin/ruby /webapps/appsee...]
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `sh'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:40:in `sh'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/file_utils.rb:80:in `ruby'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:40:in `ruby'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/webapps/appseeker/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:228:in `block in execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:143:in `invoke_task'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:101:in `block in top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:73:in `block in run'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.3/bin/rake:33:in `<top (required)>'
/webapps/appseeker/shared/bundle/ruby/1.9.1/bin/rake:23:in `load'
/webapps/appseeker/shared/bundle/ruby/1.9.1/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile
Does anyone know how to fix that issue?

Did you installed nodejs via apt-get? Try to compile it from the source code to use the same OpenSSL library that RubyStack ships.

I had the exact same issue giving me headaches with Rails 4 and passenger. As Beltran said, the solution is to compile nodejs from source, and additionally, to use an older version of node. On my local machine I was using v0.10.0, so I just used this on the server as well, and it worked.
sudo -s
cd /usr/local/src
git clone https://github.com/joyent/node.git
cd node
git checkout v0.10.0-release
./configure
make install
... wait for a while
node -v
v0.10.0

Related

rake aborted! undefined method `mtime' for nil:NilClass

I am hitting a
rake aborted!
undefined method `mtime' for nil:NilClass
error when trying to precompile a Rails / Joosy / Foundation 4 app with Phusion Passenger.
The command I am using is
bundle exec rake assets:precompile
I have tried grep -r "mtime" which took forever and didn't seem to return anything (although I didn't let it finish) and a search of my local files for the same term returned nothing.
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
Rails 3.2.13
Phusion Passenger version 4.0.2
The full trace is as follows. Anything else that might be useful please let me know.
Thanks.
$ bundle exec rake assets:precompile
/home/entracked/.rvm/rubies/ruby-1.9.3-p392/bin/ruby /home/entracked/.rvm/gems/ruby- 1.9.3-p392#global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
undefined method `mtime' for nil:NilClass
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:128:in `block in build_dependency_paths'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:127:in `build_dependency_paths'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:17:in `initialize'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in `new'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in `block in build_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:270:in `circular_call_protection'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:248:in `build_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb:16:in `initialize'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `new'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `build_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2 .2.2/lib/sprockets/index.rb:92:in `build_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/actionpack-3.2.13/lib/sprockets/static_compiler.rb:19:in `block in compile'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `block in each_logical_path'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/actionpack-3.2.13/lib/sprockets/static_compiler.rb:18:in `compile'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/actionpack-3.2.13/lib/sprockets/assets.rake:56:in `internal_precompile'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/actionpack-3.2.13/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/actionpack-3.2.13/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
Tasks: TOP => assets:precompile:primary
(See full trace by running task with --trace)
Command failed with status (1): [/home/entracked/.rvm/rubies/ruby-1.9.3-p39...]
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `sh'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/file_utils.rb:80:in `ruby'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `ruby'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/actionpack-3.2.13/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/actionpack-3.2.13/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/gems/actionpack-3.2.13/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#global/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/bin/ruby_noexec_wrapper:14:in `eval'
/home/entracked/.rvm/gems/ruby-1.9.3-p392#hub_blog/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => assets:precompile
EDIT
So further reading makes me thing it is related to https://github.com/sstephenson/sprockets/issues/141 which basically says the error message are not very useful, but that is probably related to the require_tree manifest in application.js.
I'm not very sure what is going on but I wonder if there is something missing from mine
//= require jquery
//= require jquery_ujs
//= require foundation
//= require_tree .
$(document).foundation();
also tried adding this line
//= require_tree ./blog
because I have a joosy.ws (front end js framework) application created in assets/javascripts/blog. Not sure if this will be included by default. Neither option seems to fix the issue.

Why rake assets precompile doesn't work

I am using letsrate gem
rake assets: precompile raises the following.
I wanted to deploy on heroku and raises the same error.
/home/sunloverz/.rvm/rubies/ruby-1.9.3-p385/bin/ruby /home/sunloverz/.rvm/gems/ruby-1.9.3-p385/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
undefined method `rate_path' for #<Module:0x9d31338>
(in /home/sunloverz/RubymineProjects/socialnews/app/assets/javascripts/letsrate.js.erb)
/home/sunloverz/RubymineProjects/socialnews/app/assets/javascripts/letsrate.js.erb:13:in `block in singletonclass'
/home/sunloverz/RubymineProjects/socialnews/app/assets/javascripts/letsrate.js.erb:65530:in `instance_eval'
/home/sunloverz/RubymineProjects/socialnews/app/assets/javascripts/letsrate.js.erb:65530:in `singletonclass'
/home/sunloverz/RubymineProjects/socialnews/app/assets/javascripts/letsrate.js.erb:65528:in `__tilt_74553360'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/tilt-1.3.7/lib/tilt/template.rb:144:in `call'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/tilt-1.3.7/lib/tilt/template.rb:144:in `evaluate'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/tilt-1.3.7/lib/tilt/template.rb:77:in `render'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/context.rb:193:in `block in evaluate'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `each'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `evaluate'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:12:in `initialize'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in `new'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in `block in build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:270:in `circular_call_protection'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:248:in `build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:105:in `each'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:105:in `resolve_dependencies'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:97:in `build_required_assets'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:16:in `initialize'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in `new'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in `block in build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:270:in `circular_call_protection'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:248:in `build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb:16:in `initialize'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `new'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/actionpack-3.2.13/lib/sprockets/static_compiler.rb:19:in `block in compile'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `block in each_logical_path'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
3.2.13/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/actionpack-3.2.13/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
Tasks: TOP => assets:precompile:primary
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/home/sunloverz/.rvm/rubies/ruby-1.9.3-p38...]
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/home/sunloverz/.rvm/gems/ruby-1.9.3-p385/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
please check error that
"undefined method `rate_path' for # "
hi budy please do following changes in file before deploy to heroku
------enviorment.rb-----
::ActiveSupport::Deprecation.silenced = true
------Production.rb-------
config.assets.compile = ['*.js', '*.css']
config.active_support.deprecation = :silence
-------application.rb-------
config.assets.enabled = true
config.assets.initialize_on_precompile = false
i used this step when deploying heroku
make sure you using "postgres" database and "thin" server
hope you are solve the issue.
I had the same problem, I resolved it by adding this code in my routes.rb
post '/rate', to: 'rater#create', as: 'rate'

Why is rake assets precompile failing with rails 3.2.11

I always seem to need to precompile my assets before deploying to heroku. I recently upgraded rails to 3.2.11 due to the security patch that it said that it fixes. I also updated a few of my gems.
I'm trying to precompile my assets locally by using the following command RAILS_ENV=production bundle exec rake assets:precompile --trace and I get the following error and rake aborts.
RAILS_ENV=production bundle exec rake assets:precompile --trace
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /usr/local in PATH, mode 040777
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /Users/mwallace/.rvm in PATH, mode 040757
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/Users/mwallace/.rvm/rubies/ruby-1.9.3-p362/bin/ruby /Users/mwallace/.rvm/gems/ruby-1.9.3-p362/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /Users/mwallace/.rvm in PATH, mode 040757
** 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!
no block given (yield)
(in /Users/mwallace/Sites/venueblast/app/assets/javascript/live/templates/main_view.handlebars.erb)
/Users/mwallace/Sites/venueblast/app/assets/javascript/live/templates/main_view.handlebars.erb:11:in `evaluate_source'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `instance_eval'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `evaluate_source'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/tilt-1.3.3/lib/tilt/template.rb:144:in `cached_evaluate'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/tilt-1.3.3/lib/tilt/template.rb:127:in `evaluate'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/context.rb:193:in `block in evaluate'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `each'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `evaluate'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:12:in `initialize'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in `new'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in `block in build_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:270:in `circular_call_protection'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:248:in `build_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb:16:in `initialize'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `new'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `build_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/environment.rb:78:in `find_asset'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb:19:in `block in compile'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `block in each_logical_path'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb:18:in `compile'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/actionpack-3.2.11/lib/sprockets/assets.rake:56:in `internal_precompile'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/actionpack-3.2.11/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:228:in `call'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:228:in `block in execute'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:223:in `each'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/Users/mwallace/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/actionpack-3.2.11/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:228:in `call'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:228:in `block in execute'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:223:in `each'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/Users/mwallace/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:143:in `invoke_task'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:101:in `each'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:101:in `block in top_level'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:73:in `block in run'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/bin/rake:33:in `<top (required)>'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/bin/rake:19:in `load'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/bin/rake:19:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [/Users/mwallace/.rvm/rubies/ruby-1.9.3-p36...]
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `call'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `sh'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:40:in `sh'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/file_utils.rb:80:in `ruby'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:40:in `ruby'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/actionpack-3.2.11/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/actionpack-3.2.11/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:228:in `call'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:228:in `block in execute'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:223:in `each'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/Users/mwallace/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:143:in `invoke_task'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:101:in `each'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:101:in `block in top_level'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:73:in `block in run'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362#global/gems/rake-10.0.3/bin/rake:33:in `<top (required)>'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/bin/rake:19:in `load'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/bin/rake:19:in `<main>'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `eval'
/Users/mwallace/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => assets:precompile
Line 11 in my main layout templet seems to be the cause. its where the <%= yield %> is.
<div id="tophead">
<div class="container">
<div id="wrapper_main">
<div id="top_aurora"></div>
<div class="header">
<div id="logo"></div>
</div>
</div>
<div id="video_area" class="video_area">
<%= yield %>
</div>
<div id="footer" class="live_footer">
<div id="cornrows" class="cornrows">
<div class="center" id="live_trademark"><p>®Venueblast.com All Rights Reserved. <img src="../images/venueblast_footer_logo.png" height="15" width="93"></p>
<p>Interested in finding out more? Contact Us</p>
</div>
</div>
</div>

rake assets:precompile fails with Cannot call method 'write' of undefined error

I have been installing spree and as part of the install the following command was run:
rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
I then get this error:
rake aborted!
TypeError: Cannot call method 'write' of undefined
at /tmp/execjs20120526-15139-1ixqp7s.js:6290:20
at /tmp/execjs20120526-15139-1ixqp7s.js:6304:16
at /tmp/execjs20120526-15139-1ixqp7s.js:1:92
at Object.<anonymous> (/tmp/execjs20120526-15139-1ixqp7s.js:1:109)
at Module._loadContent (node.js:667:21)
at node.js:695:20
at node.js:304:23
at node.js:756:9
(in /app/assets/javascripts/admin/all.js)
Here's the stack trace:
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/execjs-
1.4.0/lib/execjs/external_runtime.rb:142:in `exec_runtime'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:28:in `block in exec'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:41:in `compile_to_tempfile'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:27:in `exec'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/uglifier-1.2.4/lib/uglifier.rb:101:in `compile'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/actionpack-3.2.3/lib/sprockets/compressors.rb:74:in `compress'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/processing.rb:265:in `block in js_compressor='
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/processor.rb:29:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/processor.rb:29:in `evaluate'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/context.rb:177:in `block in evaluate'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in `evaluate'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/bundled_asset.rb:26:in `initialize'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in `new'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in `build_asset'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in `block in build_asset'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in `cache_asset'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in `build_asset'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in `find_asset'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in `find_asset'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/actionpack-3.2.3/lib/sprockets/static_compiler.rb:20:in `block in compile'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:212:in `block in each_logical_path'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:200:in `block (2 levels) in each_file'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each_entry'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:198:in `block in each_file'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each_file'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/sprockets-2.1.3/lib/sprockets/base.rb:210:in `each_logical_path'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/actionpack-3.2.3/lib/sprockets/static_compiler.rb:18:in `compile'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/actionpack-3.2.3/lib/sprockets/assets.rake:56:in `internal_precompile'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/actionpack-3.2.3/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/usr/local/rvm/gems/ruby-1.9.3-p125#happyBirthday/gems/actionpack-3.2.3/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/bin/rake:19:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p125#global/bin/rake:19:in `<main>'
Tasks: TOP => assets:precompile:primary
I had a look in all.js - there's some commented out stuff in the file and that's it. It's all a fresh install as well....
I'm running rake (0.9.2.2), rails (3.2.3), ruby 1.9.3p125
Any idea what's going on?? Thanks for your help!
I had this issue on mine setup it was due to me pasting some invalid media queries in my css. doh!

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