• Ruby Dir "Random" on Linux but Alphabetical on OSX

    Recently after a co-worker pushed code to our continuous integration server Jenkins was saying that the build was broken and that a constant was being called that wasn’t initialized. What was strange is that the code my co-worker pushed ran just fine when I ran it on my work Mac Laptop as well as some of my other co-workers Mac Laptops. This has to be some sort of weird Mac / Linux difference.

    July 3, 2013 - 2 minute read - jenkins linux mac rspec ruby rails
  • Test::Unit or MiniTest must be loaded *before* Mocha

    I recently ran bundle update on an older rails application that I had been developing. I added a few specs and when I went to run them I was greeted with the following error:

    July 12, 2012 - 2 minute read - gem mocha rails rspec ruby