Call for a browser from command line in rakefile

I have a rakefile which run few tasks. I want to run my tests for
different browsers using the rakefile. What would be the best suited way
to achieve this? Please help.