If you’re getting this error (probably after a bundle update), all you need to do is comment out:
Form your deploy.rb file, then deploy as usual, then uncomment it, and deploy again. Simple huh?
Featured: What’s so special about Ruby on Rails?
Featured: What’s special about Ruby?
Featured: Best way to learn Ruby & Rails
If you’re getting this error (probably after a bundle update), all you need to do is comment out:
Form your deploy.rb file, then deploy as usual, then uncomment it, and deploy again. Simple huh?
This has been doing my head in all day – so hopefully it will save some of you the trouble. I’m on a CentOS box.
First thing you want to do is check which version of postgres you have, with:
More…
Vips is a brilliant new image processing library that is reported to be far more efficient than most other image processing libraries out there (such as ImageMagick). To install on CentOS simply: More…
Here’s a quick reference on how to create a user, a database and grant the user all privileges to the database (on Mac OS X). If you haven’t yet installed PostgreSQL, look here: How to install PostgreSQL on Mac OS X
More…
There are a number of ways to install Postgres on Mac, here’s three. While these instructions are for a clean install of Lion, they may work for Mountain Lion.
More…
If you’re interested in learning Vim you’re in luck – because there are some great resources out there. In this post I’m going to document the ones I’ve been using, in a step-by-step kinda way – hopefully making it easy to follow for anyone else keen on learning. By the end of it, you should (hopefully) no longer be a novice ![]()
More…
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…
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…
Some of us have been running ‘retina’ displays long before Apple dreamed of them, and here’s how you can too.
More…
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…