Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7558675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:25:55+00:00 2026-05-30T12:25:55+00:00

I’m having this issue with cucumber when. Here is everything. My Gemfile source ‘https://rubygems.org’

  • 0

I’m having this issue with cucumber when. Here is everything.

My Gemfile

source 'https://rubygems.org'

gem 'rails', '3.2.1'

gem 'pg'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

group :test do 
  gem 'rspec-rails'
  gem 'factory_girl_rails'
  gem 'cucumber-rails'
  gem 'database_cleaner'
  gem 'capybara'
end

Feature Test

Feature: Requesting invitations
  As a visitor
  I want to request a beta invitation
  So I can be sent an invitation when the site is ready

  Scenario: Requesting an invitation
    Given I am on the homepage
    When I request and invitation for "foo@example.com"
    Then I should see "Your on the list" confirmation

Error output

    Feature: Requesting invitations
      As a visitor
      I want to request a beta invitation
      So I can be sent an invitation when the site is ready

      Scenario: Requesting an invitation
        Given I am on the homepage
        When I request and invitation for "foo@example.com"
        Then I should see "Your on the list" confirmation

rake cucumber:ok
/Users/node/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -S bundle exec cucumber  --profile default
Using the default profile...
Feature: Requesting invitations
  As a visitor
  I want to request a beta invitation
  So I can be sent an invitation when the site is ready

  Scenario: Requesting an invitation                    # features/requesting_invitations.feature:6
Deprecated: please use #source_tags instead.
    Given I am on the homepage                          # features/requesting_invitations.feature:7
      Undefined step: "I am on the homepage" (Cucumber::Undefined)
      features/requesting_invitations.feature:7:in `Given I am on the homepage'
    When I request and invitation for "foo@example.com" # features/requesting_invitations.feature:8
      Undefined step: "I request and invitation for "foo@example.com"" (Cucumber::Undefined)
      features/requesting_invitations.feature:8:in `When I request and invitation for "foo@example.com"'
    Then I should see "Your on the list" confirmation   # features/requesting_invitations.feature:9
      Undefined step: "I should see "Your on the list" confirmation" (Cucumber::Undefined)
      features/requesting_invitations.feature:9:in `Then I should see "Your on the list" confirmation'

1 scenario (1 undefined)
3 steps (3 undefined)
0m0.967s

You can implement step definitions for undefined steps with these snippets:

Given /^I am on the homepage$/ do
  pending # express the regexp above with the code you wish you had
end

When /^I request and invitation for "([^"]*)"$/ do |arg1|
  pending # express the regexp above with the code you wish you had
end

Then /^I should see "([^"]*)" confirmation$/ do |arg1|
  pending # express the regexp above with the code you wish you had
end

rake aborted!
Command failed with status (1): [/Users/node/.rvm/rubies/ruby-1.9.2-p290/bi...]

Tasks: TOP => cucumber:ok
(See full trace by running task with --trace)

So as you can see for some reason it’s breaking when I run this rake task. I get the same thing when I run ‘rake cucumber’ I don’t know what a #source_tag is and wasn’t able to find documentation on it. How can I fix this and remove the error? I thought this was a pretty straight forward scenario. Gem list gives:

cucumber (1.1.8)
cucumber-rails (1.3.0)

Thanks. Any help is welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:25:56+00:00Added an answer on May 30, 2026 at 12:25 pm

    The #source_tag warning is really meant for the capybara devs. Capybara is a dependency of cucumber-rails.

    (Hint, this is a great time to trim down that Gemfile… every bit helps.)

    As seen within the cucumber github issues

    Really, the deprecation warning is intended to be shown to the Capybara developers, so it doesn’t make sense for you as a Cucumber user to see it. I guess we should just remove the deprecation warnings altogether, unless someone can think of a clever mechanism to only show it to Capybara devs when they’re running their tests. @aslakhellesoy @joliss @jnicklas WDYT?

    …

    Cucumber 1.1.9 has been released, removing the warnings.

    tl;dr upgrade to cucumber >= 1.1.9 and the #source_tag distraction will go away.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm having trouble keeping the paragraph square between the quote marks. In firefox the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.