Permalink
Browse files

Remove dep on Aruba's internal global config and use the method presc…

…ribed in Aruba's README to modify exec path
  • Loading branch information...
1 parent 5f15aaa commit 57ccb97668afb58792c1445fb259816d75cdd0c2 @kaiwren kaiwren committed Jun 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 features/support/env.rb
@@ -2,5 +2,5 @@
Before do
@aruba_timeout_seconds = 5
- ENV['PATH'] = ([File.expand_path('executables')] + @__aruba_original_paths).join(File::PATH_SEPARATOR)
+ ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../executables')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
end

0 comments on commit 57ccb97

Please sign in to comment.