Permalink
Browse files

Add to exisiting JRUBY_OPTS

  • Loading branch information...
Steve Tooke
Steve Tooke committed Nov 6, 2013
1 parent 4c1e47e commit cc160732b2468bc99d763105557bd00979b6c003
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -11,8 +11,8 @@ task :release => 'api:doc'
task :default => [:spec, :cucumber]
if ENV['TRAVIS']
- ENV['SIMPLECOV'] ||= 'ci'
- ENV['JRUBY_OPTS'] ||= '--debug' if defined?(JRUBY_VERSION)
+ ENV['SIMPLECOV'] = 'ci'
+ ENV['JRUBY_OPTS'] = [ENV['JRUBY_OPTS'], '--debug'].compact.join(' ')
require 'coveralls/rake/task'
Coveralls::RakeTask.new

0 comments on commit cc16073

Please sign in to comment.