Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

getting ruby-debug to work with cucumber

View 1-general-setup.rb
1 2 3 4 5 6 7 8 9 10 11 12 13
# Gemfile
group :development, :test do
# ... other gems here
gem 'ruby-debug19'
end
 
# features/support/env.rb
require 'ruby-debug'
 
# features/step_definitions/some_definitions.rb
Then /^I debug$/ do
debugger
end
View 1-general-setup.rb
1 2 3 4 5
# Gemfile
group :development, :test do
# ... other gems here
gem 'ruby-debug19', :require => 'ruby-debug'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.