on.code && such
About Book Reviews Categories Archives
  • Testing With Multiple Ruby And Gem Versions

    Jun 21, 2013 • Ylan Segal • rvm, rspec

    I found myself writting a gem for internal use that needed to run in several different ruby versions and MRI. In addition, the projects that it would be used in had other dependencies which also meant that it would need to function with different versions of dependencies. Here is how I ensured I was testing all scenarios.

    Read on →

  • Unicorn Vs. Puma: Redux

    May 20, 2013 • Ylan Segal • performance, unicorn, puma, jruby, most_popular

    UPDATE: The benchmarks have been updated for new versions of ruby, jruby, puma and unicorn

    Read on →

  • Forget Vim: Learn Your OS' Shortcuts For Productivity

    Apr 22, 2013 • Ylan Segal • sublime_text_2, productivity

    I follow a certain number of ruby-related blogs and have noticed regular of calls to use Vim as an editor, usually with claims of unbridled productivity to follow. One one hand, I see the appeal: I use a bunch of UNIX tools and scripts in my daily work-flow and it makes sense to use a editor that works inside my terminal. I have tried a few tutorials, screen casts and what not, but I have never felt really comfortable. Something has always been off. I always assumed it was due to the big learning curve others talk about.

    Read on →

  • Faster Rspec: jRuby, Spork, Nailgun and Bundler Binstubs

    Mar 27, 2013 • Ylan Segal • rspec, jruby, bundler

    I recently discovered that bundler has a feature to create binstubs, so I decided to redo my benchmarks of running a single pending spec (but including the complete spec_helper for my project).

    Read on →

  • A Tale Of jRuby Profiling

    Feb 20, 2013 • Ylan Segal • jruby, profiling

    Recently, I have been working on moving some processes from the request-response web cycle to a MongoMapper-backed Delayed::Job. Everything seem to go smoothly, but it seemed that there was some slowness actually queuing the jobs. Here is how I got to the bottom of it.

    Read on →

« Older Newer »

© 2012-2025 Ylan Segal - Terms of Service - Powered by Jekyll & whiteglass - Subscribe via RSS