title: Ruby Page object Gem - Unable to pick a platform for the provided browser (RuntimeError)
body: <p>I get this error on running my feature file.</p>
  
  <p>Unable to pick a platform for the provided browser (RuntimeError)</p>
  
  <p>Help required, please.</p>
  
  <p>Here is the code;</p>
  
  <pre><code>class GooglePage
    include PageObject
  
    def self.visitor
      visit("http://www.google.com")
    end
  
  end
  </code></pre>
  
  <p><strong>env.rb</strong></p>
  
  <pre><code>require 'selenium-webdriver'
  require 'page-object'
  require 'rubygems'
  require 'page-object/page_factory'
  
  World (PageObject::PageFactory)
  @browser = Selenium::WebDriver.for :firefox
  
  
  Step-Definitions
  
  require_relative 'GooglePage'
  
  Given(/^I am on the Google home page$/) do  
     visit(GooglePage)
    # visit('http://www.google.com')
  
     on(GooglePage).visitor
  end
  </code></pre>