Setting up Capistrano to deploy to Azure Ubuntu VM

I am following this guide, and I am at the step where I attempt to do cap deploy:cold. I get the following error:

 ** [out :: vm.cloudapp.net] env: /etc/init.d/unicorn_app
 ** [out :: vm.cloudapp.net] : No such file or directory
    command finished in 257ms
failed: "sh -c 'service unicorn_app start'" on vm.cloudapp.net

cap deploy:setup worked without any errors. That file also exists. Is there any reason why I am unable to start the service? I tried doing sudo service unicorn_app start, but I get the same error.

Answers


The guide provided on the Windows Azure site is out of date (doesn't fit Capistrano v3) and needs to be updated. I stumbled across this looking for a solution fix the out of date guide, if I find anything I'll post here.


Need Your Help

Is there a way to reduce ostringstream malloc/free's?

c++ memory stl stringstream ostringstream

I am writing an embedded app. In some places, I use std::ostringstream a lot, since it is very convenient for my purposes. However, I just discovered that the performance hit is extreme since addin...

Javascript error with typo3 extension and jQuery

javascript jquery typo3

I seem to have an issue with jQuery or javascript in general on my page with typo3. I want to use the extension "Easy route planner": http://typo3.org/extensions/repository/view/st_routeplanner

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.