RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Deadlier and simpler Rails deployment

Tired of SSH-ing by hand? Is Capistrano overkill? Here’s how I use git push to deploy.

Comments

Pretty cool. I do something similar but more generic. I have a script/deploy script that does a git push, then it connects via SSH to my remote server and does a git pull and touches the restart file. It’s almost a one-liner!

Of course, Capistrano gives you easy rollbacks and so forth, but I figure if you ever need to rollback a remote deploy, you haven’t tested it properly and you should probably be getting in there manually anyway..

An interesting idea! Thanks. Good point about getting in there manually anyway if stuff goes wrong, Peter.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in