Ruby on Rails

Setting Up Log Rotation for Ruby on Rails Application on Ubuntu

Once you've deployed a Ruby on Rails web application, chances are the log files grew in sizes and occupy most of the disk space. On a live application, often time the log size grew to Gigabytes in size and the server crashes because there is no disk space left. So…

Ruby on Rails: Running a Single Cucumber Feature

This occurs to me from time to time and I hope it will be handy to other developers, too. To run a single cucumber feature, specify the feature name using FEATURE environment variable. cucumber -r features features/adding_products.feature The reason we use -r features when running a single…