capistrano

Capistrano user-related problem

Hi, I'm deploying a rails application using Capistrano to a shared server (on WebFaction). This means there are several different Ruby version installed there. Everything works fine until I want to run some rake tasks. These tasks fail by saying I don't have the right RubyGems version. From this thread I understood that fixing it woul...

Use compiled system MySql gem in production

With Rails 2.8 I am using a system gem compiled on a Solaris server, used as production. Rails 3 uses bundler and when I deploy with Capistrano and execute bundle install, bundler is not capable to install that gem. MySql gem must be compiled from source as I documented here: http://riccardotacconi.blogspot.com/2009/10/how-to-install-mys...

Should I keep my version control (git) separate from project?

Hey all, I was wondering how people deal with the fact that a git repo is really large and when I push the project to the web, copying the repo takes by far the majority of the time. Thanks, Matt ...

Capistrano + NGINX Passenger Restart Rails App

Hey Guys. I've finally gotten capistrano to work on my website, however, I cannot seem to get the restart part of the application to work. What I want todo is setup capistrano to restart the mongrel cluster that is running the rails app after a deploy has gone through. Since I used passenger to install everything, I have no clue how to ...

How can I use Capifony to deploy a symfony 1.4 project that uses Mongo

I have a symfony 1.4 project that uses Mongo db, but now I come to set up the deployment tasks with Capifony I can't get deployment to work as Capifony seems to take for granted the fact that I will be working with the databases.yml file, and either Doctrine or Propel - which I'm not in this case. Is there an easy way to work round this...

capistrano failing to clone git submodules on http

I have a web project set to deploy from a git repo. If I set up the project with http submodules (e.g. http://github....etc) it fails to deploy, with: ** [my-dev-server.com :: out] Synced lib/vendor/odm ** [my-dev-server.com :: out] Cloning into lib/vendor/odm... ** [my-dev-server.com :: err] fatal: Unable to find remote helper for 'ht...

Trying to deploy app via Capistrano for first time, having problems

I am trying to deploy a Rails app via Capistrano but am having problems. The messages that get returned in Terminal are as follows: victor$ cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' executing locally: "git ls-remote [email protected]:victory/PUM.git HEA...

Deploy with capistrano through sftp (no ssh available)

I was wondering if it is possible to deploy a rail application to an host for which I only have sftp access. (No ssh access, unfortunately). I found this page, http://codesnippets.joyent.com/posts/show/1271 which it makes me think it could be done, although it really is not clear with me what I should do with such file, nor whether th...

unable to use capistrano -- prompted for password i am not sure of

ruby on my development machine:ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] capistrano on my development machine: Capistrano v2.5.5 OS on development machine: ubuntu 10.04 desktop edition server is Amazon web service instance running on ubuntu server 64 bit 10.04 ruby on server: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linu...

How to install mysql2 gem using bundler and capistrano

I'm trying to deploy a small rails3 app to a FreeBSD host using capistrano and bundler. I have added the line require 'bundler/capistrano' to my deploy.rb file, and bundler seems to work fine until it comes to the mysql2 gem. Here the install fails because the install script uses chmod and chgrp to try to install the gem with root:whe...