{Supportbee Dev Blog}

Stories from the developer bees

Automating ssh key deployment in Rails apps with Ansible

I decided to automate ssh key management on servers last week, after having done it manually for a couple of days. I typically used Capistrano to automate server configuration but had been searching for a tool which had a declarative style and works over SSH (just like Capistrano). Fortunately, I...
read more →

Retry a subset of failed jobs in Resque 1.x

Retrying failed jobs via Resque’s web interface is pretty tiresome, especially when there are more than a handful of them. So I’ve quickly written down a small script that’ll do it for me. Copy the snippet below and paste it in a rails console def retry_if(&should_retry) redis = Resque.redis (0...Resque::Failure.count).each...
read more →

Installing ChromeDriver on Ubuntu

We use Cucumber for integration testing of SupportBee. While the scenarios run smoothly on the CI, but they sometimes fail randomly on the local setup with the below error. ` unable to obtain stable firefox connection in 60 seconds ( ` ` (Selenium::WebDriver::Error::WebDriverError) ` As you can see above, Firefox...
read more →

Jim Weirich

" To mock or not to mock, that’s the question? " We miss you Jim :(
read more →

Crafting the User (Developer) Experience of Your APIs

Avinasha from our team recently delivered a great talk on improving the developer experience of consuming an API at the Metarefresh conference. Thanks to the hardwork of the Hasgeek Team, who also happen to be a SupportBee customer, we have the video in less than 24 hours of the event....
read more →