Make Rails start 2× faster using Ruby 1.9.2 on a Mac
Doing a brief analysis in Apple’s Instruments for my sloo(…)oow-starting Rails/Cucumber/RSpec, I found out that Ruby 1.9.2 wastes a lot of time in its implementation of require. Other people on the web...
View ArticleTest PDF output with Cucumber
Want to really test what’s in some PDF output of your Rails application? If it’s enough for you to test the raw text only, here is a solution:Add this to your Gemfile (e.g. within your :cucumber...
View Article