Jon Cairns' gravatar

Jon Cairns

I'm a software developer living in Birmingham, UK. I work remotely for Green Gorilla Apps. I love Ruby, Python, Rust, VIM, and learning new things. This is my blog.

Navigation

  • Home
  • Tags
  • Search
  • Twitter

Creating a Cinch plugin part 1: a word game bot for IRC

Posted on 06 Aug 2013 cinch irc ruby

This is a tutorial for creating a plugin with Cinch, in multiple parts. It will take you through the basics of working with Cinch, creating a plugin and turning it into a gem. Plus, it will give you a highly addictive word game at the end.

Read the rest

How I got stung by the Twitter gem and thread safety

Posted on 01 Aug 2013 gem rails ruby twitter

TL;DR

If you use sferik's Twitter gem with multiple accounts in a rails app, or a ruby app that uses concurrency in some way, then you need to be using the thread safe configuration.

Read the rest

Rails migrations, and a painful lesson

Posted on 29 Jul 2013 rails ruby

The other day, one of my colleagues said something that grabbed my attention, while working on one of our biggest rails apps.

Read the rest

Using the pessimistic version constraint operator with ruby gem versions

Posted on 04 Jul 2013 bundler gem Github ruby

If you're a ruby developer, plugging a gem into a project is second nature. Most projects now use bundler to manage gem dependencies and versions, as it is so effective at doing so. If you've been doing this for long enough, then you will have come across the pessimistic version constraint operator, at least unknowingly.

Read the rest

Using project specific gemsets with Rails, RVM and Passenger

Posted on 24 Jun 2013 passenger rails ruby rvm

I ran into an issue the other day that was exacerbated by the fact that blog posts on the subject seemed to be out of date. Therefore, this is an attempt to bring a more up-to-date solution.

Read the rest

  • « Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • Next »

Copyright © Jon Cairns 2018. Created using Jekyll.