[capistrano-mailing-list] Re: How do I get capistrano 3 to prompt for server name?

2015-07-19 Thread Stuart Watson
It's using ssh keys so there is no password to inputwould this solve this problem? If I replace the server variable in the production.rb file with the server ip address it works fine. Thanks Stuart On Friday, July 17, 2015 at 4:01:16 PM UTC+1, Stuart Watson wrote: > > Here i

[capistrano-mailing-list] Re: How do I get capistrano 3 to prompt for server name?

2015-07-18 Thread Stuart Watson
I guess I might be better doing cap --hosts=server1,server2 production deploy and not having the initial setup file ask for the server name which is probably wrong. Thanks On Friday, July 17, 2015 at 4:01:16 PM UTC+1, Stuart Watson wrote: > > Here is my config so far:- >

[capistrano-mailing-list] Re: How do I get capistrano 3 to prompt for server name?

2015-07-18 Thread Stuart Watson
x27;d like to try and avoid having a file which contains all the relevant information which could be committed to github (users change the name and forget to update the git ignore file) Once this has finished we'll then run cap production deploy - it's designed to replace the deploy:

[capistrano-mailing-list] How do I get capistrano 3 to prompt for server name?

2015-07-17 Thread Stuart Watson
Here is my config so far:- Capfile # Load DSL and set up stages require 'capistrano/setup' # Include default deployment tasks require 'capistrano/deploy' # Include tasks from other gems included in your Gemfile # # For documentation on these, see for example: # # https://github.com/capistrano

[capistrano-mailing-list] Re: Why are my gems not being installed?

2015-07-08 Thread Stuart Watson
#x27;tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system') # Default value for default_env is {}# set :default_env, { path: "/opt/ruby/bin:$PATH" } # Default value for keep_releases is 5set :keep_releases, 5 namespace :

[capistrano-mailing-list] Why are my gems not being installed?

2015-07-07 Thread Stuart Watson
they don't appear to be. Thanks Stuart -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion

[capistrano-mailing-list] Re: What is the equivalent of deploy:setup under Capistrano 3?

2015-07-07 Thread Stuart Watson
Actually...this is now workingthanks On Monday, July 6, 2015 at 3:22:17 PM UTC+1, Stuart Watson wrote: > > Versions: > >- Ruby 2.0.0-p451 >- Capistrano 3.4.0 >- Rake / Rails / etc rake 10.3.2 > > Platform: > >- Working on Ubuntu >

[capistrano-mailing-list] Re: What is the equivalent of deploy:setup under Capistrano 3?

2015-07-07 Thread Stuart Watson
Thanks...so far i've got this http://pastebin.com/fD1C3F1c Which i've put in my lib/capistrano/tasks folder and gets executed. This works apart from the deploy_to and application settings are defined in by deploy.rb file. How do I go about fetching these from another file? Thanks

[capistrano-mailing-list] What is the equivalent of deploy:setup under Capistrano 3?

2015-07-06 Thread Stuart Watson
Versions: - Ruby 2.0.0-p451 - Capistrano 3.4.0 - Rake / Rails / etc rake 10.3.2 Platform: - Working on Ubuntu - Deploying to... Ubuntu Hi What is the equivalent of deploy:setup for Capistrano 3. We used to use this under Capistrano 2 for setting up the database.yml file

[capistrano]

2013-04-06 Thread Stuart Munro
-- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group a

[Capistrano] Re: Cap fails to make SSH connection with Errno::ENOENT

2008-02-17 Thread Stuart Sierra
That was it! Thanks, Jamis, I never would have figured that one out on my own. -Stuart On Feb 17, 8:31 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > This is because, at one point, you had an ssh-agent running, but now > it isn't. When it stopped running, it didn't clean up a

[Capistrano] Cap fails to make SSH connection with Errno::ENOENT

2008-02-17 Thread Stuart Sierra
2.0 and 2.1. I can ssh from the command line with no problem. Any ideas? -Stuart --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Cannot deploy to production environment.

2008-01-10 Thread Stuart Grimshaw
I've read a few of the posts on this list that indicate the way to deploy to a production environment: set :rails_env, :production but when I set that in my deploy.rb and then run cap deploy:migrate it's still trying to apply the migration to the development database which obviously doesn't exi

[Capistrano] Re: Capistrano with darcs error "darcs failed: Not a repository"

2007-08-16 Thread Stuart
Thanks, though, at least I know I'm not nuts. I'll figure out a workaround, probably just upload manually for now. -Stuart On Aug 16, 4:32 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote: > Sadly, yeah, it sounds like you're one of the lucky few who are > gettin

[Capistrano] Re: Capistrano with darcs error "darcs failed: Not a repository"

2007-08-16 Thread Stuart
ading data to mysite.com:/tmp/20070816195756.tar.gz Then it does nothing until I kill it. If I log in to the server, there's a file at /tmp/20070816195756.tar.gz with zero bytes. Could this be some obscure bug in Ruby's SFTP library? Thanks, -Stuart On Aug 16, 1:43 pm, "Jami

[Capistrano] Capistrano with darcs error "darcs failed: Not a repository"

2007-08-16 Thread Stuart
Hello all, Anyone using Capistrano with darcs? I'm trying to deploy to a new server and not having any luck. I've copied the darcs repository to a directory on the server. When cap is trying to get the list of patches from the repository, it can't find it, so darcs fails with the error "Not a r