rakelib/rspec.rake in vic-buildr-1.3.3 vs rakelib/rspec.rake in vic-buildr-1.3.4
- old
+ new
@@ -66,11 +66,11 @@
end
end
task 'setup' do
- install_gem 'win32console' if Gem.win_platform? # Colors for RSpec, only on Windows platform.
+ install_gem 'win32console' if windows? && !RUBY_PLATFORM[/java/] # Colors for RSpec, only on Windows platform.
end
rescue LoadError
puts 'Please run rake setup to install RSpec'
task 'stage:check' do
@@ -78,6 +78,6 @@
end
end
task 'stage:prepare'=>'spec'
-task 'stage:prepare'=>RUBY_PLATFORM =~ /java/ ? 'spec:ruby' : 'spec:jruby' # Test the *other* platform
\ No newline at end of file
+task 'stage:prepare'=>RUBY_PLATFORM =~ /java/ ? 'spec:ruby' : 'spec:jruby' # Test the *other* platform