Rails g jasminerice:install giving me routes error. Found a solution

So, I was running the above command, and I got this error

/home/jack/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/mapper.rb:191:in `normalize_conditions!': You should not use the `match` method in your router without specifying an HTTP method. (RuntimeError) If you want to expose your action to both GET and POST, add `via: [:get, :post]` option. If you want to expose your action to GET, use `get` in the router: Instead of: match "controller#action" Do: get "controller#action"

I changed my gemfile line to the following, and it fixed the problem. Hope this helps someone.
gem 'jasminerice', :git => 'https://github.com/bradphelan/jasminerice.git'

Oh, and don’t keep the gem set to version ‘0.0.10’. Apparently it’s the old version of the gem that’s causing the problem.