Displaying 20 results from an estimated 10000 matches similar to: "Capistrano: creating your own tasks"
2006 Mar 20
2
Capistrano, ftp user and svn user are different
What do you do when the ftp login username is different then the svn
username?
Every time I try to deploy it gets stuck right here:
[kopanas.com] executing command
** [out :: kopanas.com] Authentication realm: <http://kopanas.com:80>
kopanas.com
** [out :: kopanas.com] Password for ''jkopanas'':
** [out :: kopanas.com] subversion is asking for a password
** [out ::
2006 Mar 20
4
Capistrano: cap show_tasks working but rake show_tasks not?
Does it make sense that if I type cap show_tasks it works but when I
type rake show_tasks I get:
rake aborted!
Don''t know how to build task ''show_tasks''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in `[]''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in `[]''
2006 Mar 22
1
Capistrano - run command
Man, I can''t wait to get my hands on the capistrano book when it
comes out :-).
I have the following task in capistrano.rake (any task in deploy.rb
just does not want to be called)
=========
desc "Restarts the lighttpd server"
task :restart_server do
run "/users/home/jkopanas/bin/lighttpdctrl restart"
end
=========
When I run rake restart_server I get the
2006 Mar 06
11
Capistrano setup fails
I can''t get past the setup step in Capistrano. I know the paths are
correct and I''m using zsh locally (bash on remote), so the shell
shouldn''t be a problem. It never asks for the SSH password, even. Any
help you could give would be greatly appreciated. Thanks.
Kenneth
--
=> the blog from beyond <=
=> www.eyeheartzombies.com <=
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across
multiple remote hosts. It was formerly known as SwitchTower.
Installation:
gem install capistrano
Manual:
http://manuals.rubyonrails.org/read/book/17
Version 1.1 introduces a few changes:
* Renamed! Due to the trademark infringement debacle of last week, we
had to change the name. Moving forward it will be known as
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for
the life of me can''t figure out why I''m getting this exception thrown.
I''ve switched from Switchtower to Capistrano, and when I run rake
deploy I get this output:
** [update_code] exception while rolling back: NameError,
uninitialized constant Net::SSH::Transport::OSSL
2006 May 17
3
Capistrano: Skipping require of dynamic string
Hi all,
I am starting out to play with capistrano. I installed the capistrano
gem, and I got some messages. I am not sure if these are errors,
warnings or just status messages.I hope someone here can help me
understand these messages, so that I don''t suspect Capistrano
installation if I run into issues further down. :-)
binil$ gem install -r capistrano
Attempting remote installation
2006 Apr 18
3
Capistrano and Certificates
All,
I''m setting up a deployment script with Capistrano at the moment, and
am running into some trouble when it attempts to pull the code down
from the SVN server when I run the deploy task.
The SVN server runs over https, and the problem seems to be when I get
asked whether I want to accept or reject the certificate. I hit ''p'' to
accept the certificate permanently,
2006 Apr 12
2
Rake not finding lib/tasks folder?
Hi all,
I''m attempting to set up a new Rails app using Typo. I''ve downloaded
the Typo 2.6.0 edition which includes Rails 1.0 and it works fine. I''ve
set up version control with SVN and checked out a new working copy.
I''ve run Capistrano -A on the application and it''s set up my deploy.rb
and lib/tasks/capistrano.rake.
Rake doesn''t seem
2006 Apr 08
6
Deploy with Capistrano Win32 -> Linux
Im trying to deploy with capistrano from win32 to Linux but no success.
I''ve been installed: cwRsync to ssh
I ran
rake remote:exec ACTION=setup --trace
and get:
Anyone knows how to get capistrano log ssh comunication?
Any idea?
Thanks
rake aborted!
End of file reached
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.8/lib/net/ssh/transport/version-negot
iator.rb:51:in `readline''
2006 Mar 07
5
Capistrano: command never finishes?
Hi,
I have created a small :restart task to overwrite the default one:
task :restart, :roles => :app do
sudo "/etc/init.d/lighttpd stop"
sudo "/etc/init.d/lighttpd start"
end
This works fine and lighty does restart, but the last command never
finishes, so I never return to the prompt. Here''s my output:
cap restart
loading configuration
2006 May 16
8
capistrano can''t find svn
I''m trying to get capistrano to deploy to an osx machine - rake
remote:cold_deploy but it fails on the svn co line with
"bash: line 2: svn: command not found"
I''ve set the proper path to svn (/usr/local/bin) in both .bash_profile
and .bash_login but capistrano seems to be ignoring these.
How does capistrano know where to look for svn?
Thanks
2006 Mar 07
2
Can I set up multiple deploy targets with Capistrano?
I have two servers up, one will be used for production, one for
testing stuff. I''d like to set things up so I can upgrade each one
independently. So I could type
$ rake deploy
That will update the test server. I do that, test it for a few
minutes/hours/days whatever, then I can put it onto the main server:
$ rake deploy_production
Is this possible? If so, how can I do it?
Pat
2006 Mar 21
3
Migration Rollbacks
Another question about migrations.
When I type:
===========
rake migration VERSION=1
===========
The value in the schema table change to ''1'' but none of the down
commands are issued to drop the respective tables. Am I doing
something wrong here?
Thanks :-)
John Kopanas
2006 Mar 30
4
Capistrano Shovel onto Textdrive SVN error
I''m using the Shovel recipe to deploy my lovely app to text drive.
everyhting seems to be ok apart from the deploy action which fails
saying that there is "No such file or directory" I''ve included the full
error listing below.
The SVN definately exists because we''re using for development.
Does any one have any ideas what might be going wrong?
Thanks
Tom
2006 Mar 09
1
Capistrano Error undefined method ''local''
I get an error after running Capistrano deploy...
zdennis@silver:~/source/projects/listedpropertiesllc.com$ rake deploy
(in /home/zdennis/source/projects/listedpropertiesllc.com)
loading configuration
/usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
* executing task deploy
** transaction: start
* executing
2006 Oct 25
1
Capistrano, Media Temple and their Grid Servers
Hey Everyone,
According to the comments section in this blog post MediaTemple has
their own capistrano deploy script:
http://blog.vixiom.com/2006/10/12/media-temple-tames-the-beast-new-ruby-on-rails-hosting-service-with-mongrel/
The problem is that this deploy script refers to a file called
''mt-capistrano'' that I can''t find anywhere.
Does anyone have any suggestions
2006 Apr 10
5
I have a Capistrano 1.1 patch - where does it go?
I have a patch for Capistrano 1.1 - how do I submit it?
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Aug 16
4
Deploying only what you need with Capistrano?
The recent Rails security issue highlighted a concern I''ve had about Rails
deploys; namely, you shouldn''t deploy anything to production that you don''t
need there. Rails apps have a number of scripts--potential security holes or
DOS targets in this case--along with all the other application code you
need. There''s no reason you should have script/server, console,
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when
working in a shared hosting environment, the Capistrano model can be
outside the capabilities allowed by the Web host.
I simply need to push selected directories (on a changed-file basis) out
to a server. I have about 80% of the code written to do this (I''m
considering YAC for the name, with a nod to