Skip to content

Commit

Permalink
Don't crash if ruby-debug can't be found. [#87]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Aug 9, 2013
1 parent 7aa06b5 commit 4ad5d15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion features/support/additional_cucumber_setup.rb
@@ -1,6 +1,10 @@
# coding: UTF-8

require 'ruby-debug'
begin
require 'ruby-debug'
rescue LoadError
warn 'Failed to load ruby-debug; continuing without it...'
end

# Set Gettext stuff so we can load Web pages.
FastGettext.text_domain ||= SITE_TITLE
Expand Down

0 comments on commit 4ad5d15

Please sign in to comment.