Fixes for redmine 2.2.2. Still using the deprecated 'rails' cookbook.