[Rails] Re: Capistrano - override default, get/copy source from local

2010-07-29 Thread khagimoto
Glad that helped, and thanks for the simpler script! I'll definitely try it on my deploy, too. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from th

Re: [Rails] Re: Capistrano - override default, get/copy source from local

2010-07-28 Thread David Kahn
Hi, thanks for the script, was very useful! I found that I was missing "set :deploy_via, :copy". Got it working on the first try. The part at the bottom on replacing the database.yml was useful too as I need to both replace this and config.rb. Really minor but found a slightly simpler way to do th

[Rails] Re: Capistrano - override default, get/copy source from local

2010-07-27 Thread khagimoto
oops.. Replace this one line in the previous post I made to: set :repository, "ssh://g...@your_git_server:your_git_port/path/to/git/ repository" This will get your source from your remote git server. The previous one is assuming that you already have a copy of the git repository locally. -- Y

[Rails] Re: Capistrano - override default, get/copy source from local

2010-07-27 Thread khagimoto
I use this script, and it works for me (although, I'm sure I could improve it..) - hope this helps! START deploy.rb = set :application, "MY_APP" set :user, "your_username" set :admin_runner, user set :rails_env, 'test' set :deploy_to, "/path/to/MY_APP/#{application}"