that will hopefully fix your problem.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--
* 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
Has anyone hooked their cap scripts into a small web app? For example
one-click deployment? If so, any quick suggestions on a clean way to
pass in variables from a web app (ie SVN URL and credentials) and run
cap deploy?
http://labs.peritor.com/webistrano
--
Jonathan Weiss
http
I'm still not clear why code is deployed to that role. I thought code
went to servers in the role :web ?
Code goes to all defined servers. That's what the :no_release option is for.
Jonathan
--~--~-~--~~~---~--~~
You received this message because you are
(OpenSSL::PKey::PKeyError: not a private key (/Users/user/.ssh/
id_rsa.pub))
How do you define the ssh_keys in deploy.rb? You only need to point to
the private key, not the public key.
Jonathan
--~--~-~--~~~---~--~~
You received this message because you are
.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to
capistrano-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group
Hi Lee,
I agree that there should be an app-stack aware Capistrano where you
define your stack and get much better defaults.
I totally agree with the goal of making deploying non-rails (and
non-spin) applications easier but I think it should be done more
unobtrusive than now and it shouldn't
Hi Lee,
I agree that there should be an app-stack aware Capistrano where you
define your stack and get much better defaults.
I totally agree with the goal of making deploying non-rails (and
non-spin) applications easier but I think it should be done more
unobtrusive than now and it shouldn't
.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to
capistrano-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group
I cannot get capistrano to work in ubuntu 8.04. I found things on web
about doing export PATH, and I did those, but no help. the gem list
shows it as installed.
Where are your gems installed and what does your $PATH look like?
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http
by a semicolon for it to work. I wonder if there
is a similar problem with deploy:start.
All task will be executed in the homedir of the Capistrano user as
this is where SSH places you after a login.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
from dev
to stage, revert this project back to the last version, etc)
Have you looked at Webistrano as a Capistrano front end?
http://labs.peritor.com/webistrano
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
get the following message which I do not understand:
** [out]
** [out] sh: htdocs/releases/20090302140817/REVISION: No such file or
Seems like the REVISION file is missing, Capistrano creates it after
each code update (deploy:update_code).
Jonathan
--
Jonathan Weiss
http
as = fetch(:runner, app)
invoke_command mongrel_rails cluster::#{t.to_s} -C
#{mongrel_config} --clean, :via = run_method, :as = as
end
end
end
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
already contacted by a couple of people and we will try to
assemble their patches and our stuff there over the next couple of days.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group
interested in continuing the development of Capistrano,
feel free to post here or get in touch with us.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to
capistrano
S. Robert James wrote:
I'm looking for docs on cap's capabilities. Not a Getting Started
Guide, but rather:
1. A list of config params for the built in recipes
http://labs.peritor.com/webistrano/wiki/ConfigurationParameter
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http
/webistrano-1.4.zip?format=raw
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group
? Check DNS, firewalls, database.yml,...
Is `ruby script/console production` working on the webserver?
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL
Thoughts? What's the best practice here?
What about using root as default and when you want another user do:
run sudo -u other_user ls /tmp
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe
Hi,
(running locally Rails 2.1, Ruby 1.8.3, on OS X 1.5)
Are you sue it's Ruby 1.8.3? 1.8.6 should be fine.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email
` variable.
The 0600 permissions have to exist on the id_rsa on the connecting SSH
client.
Seems like it's finding my private/public key, but now I'm getting a
ssh_exchange_identification read error:
Any ideas?
Is publickey-auth enabled in sshd.conf?
Jonathan
--
Jonathan Weiss
http
andypflueger wrote:
According to the remote server's sshd_config, pubkey auth is enabled:
RSAAuthentication yes
PubkeyAuthentication yes
Any other thoughts?
Disable Firewall and try again?
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
copy_repository_cache
logger.trace copying the cached version to
#{configuration[:release_path]}
run cp -RPp #{repository_cache}
#{configuration[:release_path]} #{mark}
end
end
end
end
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
greghauptmann wrote:
Hi,
Where is Capistrano doco? (e.g. variables/parameters that can be used
in deploy.rb, etc).
Most Capistrano variables can be found here:
http://labs.peritor.com/webistrano/wiki/ConfigurationParameter
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http
)?
Just have a seperate branch that you deploy:
# in prod
set :repository, https://www.example.com/svn/branches/stable;
# in staging
set :repository, https://www.example.com/svn/branches/stable;
# in testing
set :repository, https://www.example.com/svn/trunk;
Jonathan
--
Jonathan Weiss
http
version of sqlite3 it was, I'll
have to check with my colleague.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group
any
problems you have. I'll try to get 2.4.1 out this week.
Today we debugged a similar permission issue with sqlite3 on a
colleagues computer.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe
. This is disabled by default as it is a security vulnerability.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group
sets the HOME environment variable to the homedir
of the target user.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit
mongrel_rails start
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~--~~~~--~~--~--~---
deleting
my uploded photos.)
Typically you store the photos somewhere else (e.g. shared/photos or
/opt/data/photos) and symlink this directory to public/photos on
deployment.
This way your application does not have to know about this different
storage path.
Jonathan
--
Jonathan Weiss
http
and screenshots.
There are even some screencasts.
http://labs.peritor.com/webistrano/
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit
?
Why not, it would then also mimic the configuration parameters that can
be set at the project and the stage level. If you have any patches for
this kind of changes, please post them at the trac/wiki.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
the
exception if the column was already renamed (if the new version of
014_add_comment_to_description.rb) or something equivalent.
Thanks for your work on Webistrano.
On Tue, Apr 29, 2008 at 1:04 PM, Jonathan Weiss [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
--
Jonathan Weiss
http
David Beckwith wrote:
Is there an easy way to set the RAILS_ENV to 'test' in my deploy.rb
file?
set :rails_env, 'test'
or
set :migrate_env, 'test'
See also http://labs.peritor.com/webistrano/wiki/ConfigurationParameter
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com
in Webistrano variables due
to the escaping. It works of course in recipes/tasks. In this case you
would have to either give mongrel_config the full path or set it in a
recipe.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
you as the upload
is done via scp (with runs on top of SSH).
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com
tasks in Webistrano, by default the most
common ones have a link in the deploy box. Just enter the task name you
want into the `task name` input field on the deployments/new page.
Or update to trunk and click on 'show all tasks'.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~--~~~~--~~--~--~---
capturing default output.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~--~~~~--~~--~--~---
setup a webistrano-dev email list?
No, for now we only have the trac here:
http://labs.peritor.com/webistrano
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more
://labs.peritor.com/webistrano
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~--~~~~--~~--~--~---
://labs.peritor.com/webistrano/wiki/ConfigurationParameter
If you have any additions or corrections, please tell me directly or use
the project page directly to submit corrections.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe
in
Webistrano::Configuration so this trigger the error. I fixed this in trunk.
@Al: Can you please test the fix in your setting?
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED
webistrano.mongrel.stop
end
end
end
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~--~~~~--~~--~--~---
.
with monrel:
mongrel_rails start --prefix /webistrano
See
http://labs.peritor.com/webistrano/browser/trunk/app/views/stylesheets/application.rhtml
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send
to scm_username and scm_password yes.
I would rather see a :skip_local_scm_auth variable with defaults to false.
Keep the default behaviour as it was.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email
Tim Lucas wrote:
How about simply removing #authentication from the #query_revision
svn command args?
I need local auth as there are cases where you do not have an auth cache
(do not want to have one), best example ist Webistrano.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~--~~~~--~~--~--~---
-1.1.2) in
vendor/plugins/ the setup and deployment finally worked.
It seems like that Capistrano will load the wrong net-ssh version if you
have a newer one installed. I will either update the distributed one or
try to change the loading.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~--~~~~--~~--~--~---
Trevor Turk wrote:
I'm trying to move over to Cap2, and I'm having a little trouble
figuring out the way the before and after hooks work.
after 'deploy:update_code', :upload_database_yml
You need to include the namespace in the before/after hooks.
Jonathan
--
Jonathan Weiss
http
;
This will not be rolled back correctly.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~--~~~~--~~--~--~---
You can lock this further down by not running mongrel_rails as root but
another user, which might be a good idea in case security holes are
found in mongrel.
Or in your code as Rails then also runs as root which you should
definitely avoid.
Jonathan
--
Jonathan Weiss
http
54 matches
Mail list logo