Permalink
Browse files

let's be a bit more forgiving of people without the mingw toolchain.

  • Loading branch information...
flavorjones committed Jun 14, 2010
1 parent c45c7a5 commit 1b2d8e5449ae709b681898bd767ff15592727275
Showing with 5 additions and 1 deletion.
  1. +5 −1 Rakefile
View
@@ -157,7 +157,11 @@ file GENERATED_TOKENIZER => "lib/nokogiri/css/tokenizer.rex" do |t|
end
require 'tasks/test'
-require 'tasks/cross_compile' unless RUBY_PLATFORM =~ /java/
+begin
+ require 'tasks/cross_compile' unless RUBY_PLATFORM =~ /java/
+rescue RuntimeError => e
+ warn "WARNING: Could not perform some cross-compiling: #{e}"
+end
desc "set environment variables to build and/or test with debug options"
task :debug do

0 comments on commit 1b2d8e5

Please sign in to comment.