recent posts

RVM – no such file to lo...

Installed ruby 1.9.2 via RVM and getting the following error? no such file to load -- openssl Try getting RVM to install the required openssl files. Unfortunately this means removing ruby and installing it again. rvm pkg install openssl rvm remove...

Running Resque Workers from Up...

I recently had the task of getting resque workings to start from Ubuntu’s upstart daemon. First I created a bash script with the following; #!/bin/bash # Load RVM into the shell source "$HOME/.rvm/scripts/rvm" # Switch to the right...

Valum Fileupload +jQuery +csrf...

I recently went to implement Valum’s Fileupload script with a Ruby on Rails jQuery project I was working on. One thing I figured out is that all requests in Rails3 must send also send the X-CSRF-Token. Now normally the rails.js jQuery adapter...

SQL – Changing to Britis...

Error converting data type varchar to datetime Are you getting the above error? Run the following under your app user. select @@Language, @@Langid If it says us_english then you’re probably hitting errors when parsing dates as DD/MM/YYYY. We...