Created
June 8, 2012 13:36
-
-
Save djberg96/2895644 to your computer and use it in GitHub Desktop.
JRuby + win32ole warnings on Windows 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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