Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8275765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:10:41+00:00 2026-06-08T08:10:41+00:00

I have setup my deploy.rb and after much much suffering, I got it to

  • 0

I have setup my deploy.rb and after much much suffering, I got it to deploy properly 3 times. I’m not sure what changed… as ive been dealing with problems the last 8 hours, but now there is an error that wasnt there before.

here is where it fails

failed: "sh -c 'cd /home/username/u/apps/appname/releases/20120723030325 && #<Capistrano::Configuration::Namespaces::Namespace:0x007fef8a0826f0> RAILS_ENV=production RAILS_GROUPS=assets assets:precompile'" on example.com

The only thing I can think of that is different that I added is this

namespace :rake do  
  task :seed, :roles => :app do
    run "cd #{deploy_to}/current && /usr/bin/env rake db:seed RAILS_ENV=production"
  end 
end

One other thing that MAY be related but i dont see how… in my production.log it says modernizr isnt precompiled. That’s because its not actually inside application.js, the reason for this is because it needs to go at the top of the html document, not with all the rest at the bottom, so i just used a standard javascript_include tag, but i didnt put it the include tree. Although, it deployed 3 times fine, so I cant imagine thats the problem. Thats just the next one that i need to figure out :/

Other important note. I read somewhere i need to use gem "therubyracer", :require => 'v8', so im using that as well for group :production

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:10:42+00:00Added an answer on June 8, 2026 at 8:10 am

    The problem was my task :rake… This was overriding capistranos :rake namespace, and it wasnt allowing me to precompile. I have sinced removed task :rake and its contents to a different namespace and now it works

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to deploy my WPF app, I created a Setup Project
I have a rather complicated deploy setup for our Drupal site that is a
I'm not sure if this is an odd setup to begin with, but here's
I have created a Setup Project to deploy a Silverlight + WCF web app.
I have been working to deploy a relatively large Rails app (Rails 2.3.5) and
I have an application installer created with Inno Setup that deploys multiple binaries and
I have setup airbrake in my app but it doesn't seem to log any
I have setup ability for a user to specify some settings using the in-built
I have setup an app project and a static project in a workspace in
i have setup an overlay script to enable me to display an overlay popup

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.