added manifest fix to version 2 stable branch as master doesn't seem to
work with rails 4.0.x