Skip to content

Commit

Permalink
Handle limited red not being installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Mar 14, 2012
1 parent 1c5217b commit e0034eb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion features/support/env.rb
@@ -1,7 +1,12 @@
require 'rubygems'
require 'bundler'
Bundler.setup
require 'limited_red/plugins/cucumber'

begin
require 'limited_red/plugins/cucumber'
rescue LoadError
warn "Limited red is not available"
end

require 'ruby-debug' if !defined?(RUBY_ENGINE) && RUBY_VERSION != '1.9.3' && !ENV['CI']

Expand Down

0 comments on commit e0034eb

Please sign in to comment.