after installing the newest Ubuntu 12.04 on my machine all the rspec tests for all my rails applications are running very very slow. Also a colleague of mine has the same problem.
Anyone an idea what it could be? Its really annoying...
My specs were taking 4x longer than my coworkers who are running Vagrant on Mac OSX. I found this post which seems to solve the problem. Apparently anyone using ext4 will experience this unless they follow the instructions on the blog post:
Open up your /etc/fstab file in an editor of your liking (as sudo).
Look for the line that describes the partition you are running Ubuntu on. For example:
UUID=f54ae48f-7525-4b18-92bf-dbe5b1fb9be6 / ext4 errors=remount-ro 0 1
Add a barrier=0 option so it now looks like this:
UUID=f54ae48f-7525-4b18-92bf-dbe5b1fb9be6 / ext4 barrier=0,errors=remount-ro 0 1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With