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
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:-
>
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:
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
#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 :
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
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
>
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
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
--
--
* 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
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
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
-~--~~~~--~~--~--~---
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
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
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
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
16 matches
Mail list logo