Skip to content

Instantly share code, notes, and snippets.

@djberg96
Created June 8, 2012 13:36
Show Gist options
  • Save djberg96/2895644 to your computer and use it in GitHub Desktop.
Save djberg96/2895644 to your computer and use it in GitHub Desktop.
JRuby + win32ole warnings on Windows 7
# Rakefile, in directory c:\users\djberge\foo
require 'rake'
require 'rake/testtask'
Rake::TestTask.new do |t|
t.verbose = true
t.warning = true
end
task :default => :test
# test_foo.rb, in directory c:\users\djberge\foo\test
require 'test/unit'
require 'win32ole'
class TC_Foo < Test::Unit::TestCase
def test_foo
assert_equal(1,1)
end
end
# Running "jruby -S rake" results in lots of warnings: https://gist.github.com/2893906
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment