Skip to content

Instantly share code, notes, and snippets.

@jgautsch
Created August 13, 2013 21:32
Show Gist options
  • Save jgautsch/6225904 to your computer and use it in GitHub Desktop.
Save jgautsch/6225904 to your computer and use it in GitHub Desktop.
Capistrano asset compilation problem
* 2013-08-13 16:25:28 executing `deploy:assets:precompile'
triggering before callbacks for `deploy:assets:precompile'
* 2013-08-13 16:25:28 executing `deploy:assets:update_asset_mtimes'
* executing "[ -e /mnt/workmein-production/shared/assets/manifest* ] && cat /mnt/workmein-production/shared/assets/manifest* || echo"
servers: ["production.foo.com"]
[production.foo.com] executing command
command finished in 147ms
* 2013-08-13 16:25:28 executing `deploy:assets:symlink'
* executing "rm -rf /mnt/workmein-production/releases/20130813212515/public/assets && mkdir -p /mnt/workmein-production/releases/20130813212515/public && mkdir -p /mnt/workmein-production/shared/assets && ln -s /mnt/workmein-production/shared/assets /mnt/workmein-production/releases/20130813212515/public/assets"
servers: ["production.foo.com"]
[production.foo.com] executing command
command finished in 140ms
* executing "cd -- /mnt/workmein-production/releases/20130813212515 && RAILS_ENV=production RAILS_GROUPS=assets bundle exec rake assets:precompile"
servers: ["production.foo.com"]
[production.foo.com] executing command
command finished in 105566ms
* executing "ls -1 /mnt/workmein-production/shared/assets/manifest* | wc -l"
servers: ["production.foo.com"]
[production.foo.com] executing command
command finished in 216ms
/Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/assets.rb:68:in `block (3 levels) in load': More than one asset manifest file was found in '/mnt/workmein-production/shared/assets'. If you are upgrading a Rails 3 application to Rails 4, follow these instructions: http://github.com/capistrano/capistrano/wiki/Upgrading-to-Rails-4#asset-pipeline (RuntimeError)
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/rubber-2.5.3/lib/rubber/recipes/rubber.rb:41:in `call'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/rubber-2.5.3/lib/rubber/recipes/rubber.rb:41:in `block in task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `instance_eval'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `invoke_task_directly'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/callback.rb:38:in `call'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:141:in `block in trigger'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:141:in `each'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:141:in `trigger'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly_with_callbacks'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/callback.rb:38:in `call'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:141:in `block in trigger'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:141:in `each'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:141:in `trigger'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly_with_callbacks'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/namespaces.rb:191:in `method_missing'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/namespaces.rb:110:in `block in define_task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy.rb:201:in `block (2 levels) in load'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `instance_eval'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `invoke_task_directly'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:46:in `block in execute_requested_actions'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:45:in `each'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:45:in `execute_requested_actions'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/cli/help.rb:19:in `execute_requested_actions_with_help'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:34:in `execute!'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:14:in `execute'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/gems/capistrano-2.15.5/bin/cap:4:in `<top (required)>'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/bin/cap:19:in `load'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/bin/cap:19:in `<main>'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/jgautsch/.rvm/gems/ruby-1.9.3-p374@WMI_2013325/bin/ruby_noexec_wrapper:14:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment