Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Capistrano aborted

Hi,

I'm currently trying to deploy an applicatio using capistrano. I've been following this tutorial. https://www.digitalocean.com/community/tutorials/deploying-a-rails-app-on-ubuntu-14-04-with-capistrano-nginx-and-puma

Using this tutorial I setup everything according to the tutorial.

However when I run cap production deploy:initial I get the following error.

cap production deploy:initial 
(Backtrace restricted to imported tasks)
cap aborted!
Don't know how to build task 'start' (see --tasks)

Tasks: TOP => production
(See full trace by running task with --trace)

Anyone else had this error before?

Best Charles

1 Answer

Are you missing require 'capistrano/deploy' in your Capfile? Order can matter, put it after 'capistrano/setup' and before everything else.