Skip to content
Browse files

[dm-more] Added fix for Ruby 1.9 and rcov conflicts

* Skip requiring rcov if the syntax is invalid
  • Loading branch information...
1 parent 73fb1b2 commit b3b95099ad20c10a455dfc4be86bffd8d7e1fe0a @dkubb dkubb committed Sep 11, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 tasks/spec.rb
View
2 tasks/spec.rb
@@ -16,6 +16,8 @@
t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
rescue LoadError
# rcov not installed
+ rescue SyntaxError
+ # rcov syntax invalid
end
end
rescue LoadError

0 comments on commit b3b9509

Please sign in to comment.
Something went wrong with that request. Please try again.