Correctly load rake tasks for Rails 4

I was trying to use the jasmine-gem with a Rails 4 project, but the rake tasks weren't being loaded correctly (didn't show up in rake -T).

Turns out the dependency manager was only loading the railtie for Rails versions 3.x, so I changed it to check if the Rails version was greater than 3.