There is a bug in the capistrano git bridge that’s not been patched in the stable version yet.
If you’re getting:
fatal: Could not parse object
A quick and dirty hack is to add a task that just removes your git cache for now on the deployed server with:
desc "Clear that git cache"
task :clear_git_cache do
run "rm -Rf /#{deploy_base}/#{application}/shared/cached-copy"
end
before "deploy", "clear_git_cache"
It takes about 1 second longer to do the checkout but I don’t really notice.
Just for the record, we LOVE Github and no we’re not paid to say that, it’s just really great.
Sales Guy: It’s got super high performance. It’s not built on an open source Apache system or anything like that.
Me: That’s a strange pitch to a person like me. So I’ll bet my Apache system is faster, and if something is broken will be fixed overnight by any one of a few hundred people.
Sales Guy: We have a fast turnaround and our patent pending system… blah blah.
Me: Patent doesn’t equal better. Why don’t we just put my stock Apache based system next to your system and see how they do.
——-
A few days later
——-
Me: So your system only works with Windows XP clients. No Vista? No Linux? No Macs? And it’s 50% slower than my out of the box open source solution.
Sales Guy: Uhhh. Our system does work with Vista and Macs if you disable some of their security features.
Me: Please go away.
I’ve got $50 for anyone who can show me a good way to convert a Typo blog (this one) to a wordpress blog without losing any data and without loosing an entire day.
Email me at mike@imapenguin.com or message me on twitter at @mrdoornbos
Mid June we’re going to launch Imapenguin Screencasts. We’re in post production of the first few now.
The short short version of the service is: Learn something really interesting and useful from an expert for $9. They’ll be about an hour and cover topics like:
- Mac OS X Security
- Ubuntu Security
- Launching and managing your business website with Wordpress
- Network Mapping with Open Source tools
- Install and configure Gentoo (you know you want to geek out with Gentoo)
- Snort
Check back with us at Imapenguin.com soon!