This post started off as a small guide mainly for my own reference, but it’s grown into a good overview of why Vim is so great for Rails development – if you’re unconvinced, just read through the killer commands listed below… you’ll soon see how Vim could make life a lot easier for you – and I’m only scratching the surface here!
(more…)
Archive for June, 2012
Vim for Ruby on Rails (and a sexy theme!)
How to get Capistrano to ignore upload directories (Carrierwave)
As you probably know, Capistrano creates a fresh directory for your app every time you deploy a new version. So if you want some directories (or files) to be carried through to each version, such as files uploaded by users, then we just need to tell Capistrano that they are shared – and to use the /shared directory for these files instead. Which is done by creating symbolic links. Here’s how.
Add this to your deploy.rb file:
(more…)
Apple did not invent ‘Retina’ displays – we did
Some of us have been running ‘retina’ displays long before Apple dreamed of them, and here’s how you can too.
(more…)
Intro to Git – 5 mins to see why it’s awesome
This is more a handy reference for myself, but it also acts as a very quick intro to why git is awesome and well worth using. The main difference here is I remind you what the state of your working directory is as you make changes (as this was what confused me previously – as I wasn’t quite sure what was going on). I assume you’ve installed git already – and know what it is.
(more…)
