RVM, Bundler and Cron in Production: Round 2

Back in 2010 , we suggested using /bin/bash -l -c to run scout via Cron when using RVM . However, this was a brute approach: /bin/bash -l -c tells bash to behave as a login, interactive process. However, as Daniel Szmulewicz elequently stated in the comments for the original blog ... Read more

Removing deadweight - cleaning up our Rails app

Every man has their breaking point when it comes to deadweight code. Andre and I hit ours recently and decided to spend all of last week focusing soley on cleaning up Scout (a Rails app). Our goals: Faster tests – our tests took 8 minutes to complete. While it’s the ... Read more

API Blank Slate

A couple of years ago I went to Argentina. I don’t speak Spanish. This meant a lot of the basic conversations I’d have with locals were frequently interrupted by me paging through a translation guide. I felt very disconnected: basic exchanges were cumbersome. When I work with an API for ... Read more

Sleep Better with a Proper Staging Environment

Nothing helps you sleep better at night like a staging environment that’s faithful to your production setup. That means your staging environment has the same Linux distro, same version of Ruby and gems, the same Apache and Passenger configuration, etc. VPS not cloud We’ve found that an inexpensive “always-on” VPS ... Read more

Developer Happiness (2 of 5): Speed Up Your Tests

Seeing your tests pass is a great feeling. Waiting a long time for it—not so much. Faster tests mean a happier developer! Use Parallel Tests If you’re not using parallel tests by Michael Grosser, you’re wasting time. Setup is just a few simple steps . You’ll be glad you did. ... Read more

Developer Happiness: a Five-Part Series

The New York Times ran a popular Op-Ed on Happiness last year. The Cliff Notes version? The daily activities most associated with happiness are sex, socializing after work and having dinner with others. The daily activity most injurious to happiness is commuting. Many software developers are fortunate to have flexible ... Read more

Oink + Request Log Analyzer = Rails Monitoring in one report

If you’ve ever had to track down a memory leak in a Rails application (and who hasn’t forgotten to use will_paginate occasionally), you’re probably already familiar with the excellent Oink plugin by Noah Davis . Oink spits out the actions that are leaking the most. Oink is a huge help ... Read more

Is your Rails app under-provisioned?

You maintain a growing Rails application and you’re seeing something peculiar. Sometimes when you use the application, it feels like the performance deteriorates significantly. However, all of your performance data shows no issues – requests in the Rails log file look speedy, CPU utilization is fine, database performance is solid, ... Read more

RubyKaigi 2009 wrap up

James Gray's July 19th talk at RubyKaigi 2009 focused on best practices for long-running Ruby daemon processes. What types of questions did the audience ask? What did they seem most interested in? In general, users always want to know about our RRD usage, extracting the daemon functionality from Scout's agent, ... Read more

Moving from FiveRuns to Scout

As FiveRuns posted on their blog they have announced End-of-Life for FiveRuns Manage. We have made arrangements with FiveRuns to ease the transition for customers who still need a robust, easy-to-use monitoring solution. For current Fiveruns customers, we are offering 50% off your first paid month here with Scout . ... Read more

Start your free 14-day trial today.
No credit card needed.