Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bypassing ruby-debug if we are using JRuby or Rubinius

  • Loading branch information...
commit f35decc4f774bc4eb6fc742981f30d9a162c9b52 1 parent 671dfbd
@mikel authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 Gemfile
View
6 Gemfile
@@ -12,7 +12,9 @@ group :test do
gem "cucumber"
gem "rspec"
gem "diff-lcs"
- gem "ruby-debug" if RUBY_VERSION < '1.9' and RUBY_PLATFORM != 'java'
- gem "ruby-debug19" if RUBY_VERSION > '1.9' and RUBY_PLATFORM != 'java'
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE != 'rbx' && RUBY_PLATFORM != 'java'
+ gem "ruby-debug" if RUBY_VERSION < '1.9'
+ gem "ruby-debug19" if RUBY_VERSION > '1.9'
+ end
gem "ZenTest"
end
Please sign in to comment.
Something went wrong with that request. Please try again.