You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2018/11/20 02:40:35 UTC

[2/2] buildr git commit: Attempt to force rspec to run in bundle controlled environment

Attempt to force rspec to run in bundle controlled environment


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/01f08244
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/01f08244
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/01f08244

Branch: refs/heads/master
Commit: 01f0824446e8c552893a4039a30455a358da12aa
Parents: 1caac4d
Author: Peter Donald <pe...@realityforge.org>
Authored: Tue Nov 20 13:40:27 2018 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Tue Nov 20 13:40:27 2018 +1100

----------------------------------------------------------------------
 rakelib/rspec.rake | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/01f08244/rakelib/rspec.rake
----------------------------------------------------------------------
diff --git a/rakelib/rspec.rake b/rakelib/rspec.rake
index 4a86a62..cc23457 100644
--- a/rakelib/rspec.rake
+++ b/rakelib/rspec.rake
@@ -36,6 +36,7 @@ RSpec::Core::RakeTask.new :spec => ['_reports', :compile] do |task|
   ENV['USE_FSC'] = 'no'
   files = FileList['spec/**/*_spec.rb']
   files = files.delete_if {|f| f =~ /^spec\/groovy\//} if RUBY_PLATFORM[/java/]
+  task.rspec_path = 'bundle exec rspec'
   task.rspec_files = files
   task.rspec_opts = %w{--order random:123 --format html --out _reports/specs.html --backtrace}
 end