Skip to content

Commit

Permalink
Get the tests running on Rubinius 2
Browse files Browse the repository at this point in the history
I'm having trouble getting simplecov to work with Rubinius's coverage stdlib,
so I'm skipping that for now.
  • Loading branch information
chrisk committed Nov 24, 2013
1 parent 8b82ded commit 5a1436a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Gemfile
@@ -1,2 +1,10 @@
source "https://rubygems.org"
gemspec

# Rubinius 2.0 distributes the standard library as gems
platform :rbx do
stdlibs = %w(benchmark cgi coverage delegate erb find logger net-http open-uri
optparse ostruct prettyprint singleton tempfile test-unit tmpdir yaml)
stdlibs.each { |lib| gem "rubysl-#{lib}", "~> 2.0" }
gem "psych", "~> 2.0"
end
2 changes: 1 addition & 1 deletion test/helpers/start_simplecov.rb
Expand Up @@ -44,7 +44,7 @@ def html_report_requested?
end

def coverage_supported_by_this_ruby?
RUBY_VERSION >= "1.9.0"
RUBY_VERSION >= "1.9.0" && RUBY_ENGINE != "rbx"
end

extend self
Expand Down

0 comments on commit 5a1436a

Please sign in to comment.