Note that there are some explanatory texts on larger screens.

plurals
  1. POCapistrano compile assets error - assets:precompile:nondigest?
    primarykey
    data
    text
    <p>My App seems to be deploying correctly but I'm getting this error:</p> <pre><code> * executing "cd /home/deploy/tomahawk/releases/20120208222225 &amp;&amp; bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile" servers: ["ip_address"] [ip_address] executing command *** [err :: ip_address] /opt/ruby/bin/ruby /opt/ruby/bin/rake assets:precompile:nondigest RAILS_ENV=production RAILS_GROUPS=assets </code></pre> <p>I've tried solutions here for trying to compile assets: <a href="http://lassebunk.dk/2011/09/03/getting-your-assets-to-work-when-upgrading-to-rails-3-1/">http://lassebunk.dk/2011/09/03/getting-your-assets-to-work-when-upgrading-to-rails-3-1/</a></p> <p>And Here: <a href="http://railsmonkey.net/2011/08/deploying-rails-3-1-applications-with-capistrano/">http://railsmonkey.net/2011/08/deploying-rails-3-1-applications-with-capistrano/</a></p> <p>And here: <a href="http://dev.af83.com/2011/09/30/capistrano-rails-3-1-assets-can-be-tricky.html">http://dev.af83.com/2011/09/30/capistrano-rails-3-1-assets-can-be-tricky.html</a></p> <p>Here is my deploy.rb :</p> <pre><code>require "bundler/capistrano" load 'deploy/assets' set :default_environment, { 'PATH' =&gt; "/opt/ruby/bin/:$PATH" } set :application, "tomahawk" set :repository, "repo_goes_here" set :deploy_to, "/home/deploy/#{application}" set :rails_env, 'production' set :branch, "master" set :scm, :git set :user, "deploy" set :runner, "deploy" set :use_sudo, true role :web, "my_ip" role :app, "my_ip" role :db, "my_ip", :primary =&gt; true set :normalize_asset_timestamps, false after "deploy", "deploy:cleanup" namespace :deploy do desc "Restarting mod_rails with restart.txt" task :restart, :roles =&gt; :app, :except =&gt; { :no_release =&gt; true } do run "touch #{current_path}/tmp/restart.txt" end [:start, :stop].each do |t| desc "#{t} task is a no-op with mod_rails" task t, :roles =&gt; :domain do ; end end end task :after_update_code do run "ln -nfs #{deploy_to}/shared/config/database.yml #{release_path}/config/database.yml" end </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload