Remove require outside of task

In production the jasmine gem is not installed so this raises and exception.