Capistrano deployment runs test-unit

I had a problem during a capistrano deployment. It executed the unit tests that is should not do and tried to require “RAILSENV=test” as file:
file not found: RAILS
ENV=test

The solution was quite simple i just had to add “:require => false” to the test-unit gem:
gem ‘test-unit’, :require => false

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *