title: Cucumber parser error
body: <p>Here is my directory structure: </p>
  
  <p>C:\Work\Test Scripts\Cucumber\features
  features\guru.feature
  features\step_definitions</p>
  
  <ul>
  <li>\step_definitions\step-guru.rb</li>
  </ul>
  
  <p>So running the command Cucumber from step_definitions still I see error as below:</p>
  
  <p>c:\Work\Test Scripts\Cucumber\features\step_definitions>cucumber
  *** WARNING: You must use ANSICON 1.31 or higher (<a href="https://github.com/adoxa/ansic" rel="nofollow">https://github.com/adoxa/ansic</a>
  on/) to get coloured output on Windows
  No such file or directory - features. You can use <code>cucumber --init</code> to get start
  ed.</p>
  
  <p>c:\Work\Test Scripts\Cucumber\features\step_definitions>cucumber step-guru.rb
  *** WARNING: You must use ANSICON 1.31 or higher (<a href="https://github.com/adoxa/ansic" rel="nofollow">https://github.com/adoxa/ansic</a>
  on/) to get coloured output on Windows
  step-guru.rb: Parser errors:
  (3:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Given
   (/^ I am on some career site dot com Page$/) do'</p>
  
  <p>Here is my  Feature file:</p>
  
  <pre><code>Feature: Visit Career guide page in some career site
  Scenario: Visit some career site dot com
      Given  I am on http://some career site dot com/
      When I click on jobs tab
      Then  I should see Jobs page
  </code></pre>
  
  <p>And here is my .rb file to run the code:</p>
  
  <pre><code>Given (/^ I am on some career site demo Page$/) do
    Browser.goto "career site" 
  end
  
  When (/^ click on Jobs tab$/) do
    Browser.text (:name, "Jobs" ).click 
  end
  
  Then (/^ I should see Jobs page$/) do
    Browser.goto "jobs site/"
    puts "Successful Page load"
    browser.close
  end
  </code></pre>
  
  <p>I am getting below Cucumber Parser error. Can you please see it and help me solve this?</p>
  
  <pre><code>c:\Work\Test Scripts\Cucumber\features\step_definitions&gt;cucumber step-guru.rb
  *** WARNING: You must use ANSICON 1.31 or higher (githubsite of ansicon) to get coloured output on Windows
  step-guru.rb: Parser errors:
  (3:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Given (/^ I am on some career site demo Page$/) do'
  (5:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Browser.goto "http://some career site dot com"'
  (7:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'end'
  (11:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'When (/^ click on Jobs tab$/) do'
  (13:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Browser.text (:name, "Jobs" ).click'
  (15:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'end'
  (19:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Then (/^ I should see Jobs page$/) do'
  (21:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'Browser.goto "http://some career site dot com/jobs/"'
  (23:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'puts "Successful Page load"'
  (25:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'browser.close'
  (27:1): expected: #Language, #TagLine, #FeatureLine, #Comment, #Empty, got 'end' (Cucumber::Core::Gherkin::ParseError)
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-core-1.3.0/lib/cucumber/core/gherkin/parser.rb:34:in `rescue in document'
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-core-1.3.0/lib/cucumber/core/gherkin/parser.rb:29:in `document'
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-core-1.3.0/lib/cucumber/core.rb:27:in `block in parse'
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-core-1.3.0/lib/cucumber/core.rb:26:in `each'
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-core-1.3.0/lib/cucumber/core.rb:26:in `parse'
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-core-1.3.0/lib/cucumber/core.rb:18:in `compile'
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:70:in `run!'
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-2.1.0/lib/cucumber/cli/main.rb:32:in `execute!'
  C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/cucumber-2.1.0/bin/cucumber:8:in `&lt;top (required)&gt;'
  C:/Ruby200-x64/bin/cucumber:23:in `load'
  C:/Ruby200-x64/bin/cucumber:23:in `&lt;main&gt;'
  </code></pre>