1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: fix path to rspec executable
the relative path is different in the gem and in the installed version
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: not-needed
Last-Update: 2015-06-13
--- a/rspec-core/lib/rspec/core.rb
+++ b/rspec-core/lib/rspec/core.rb
@@ -151,7 +151,8 @@
# @private path to executable file.
def self.path_to_executable
- @path_to_executable ||= File.expand_path('../../../exe/rspec', __FILE__)
+ #@path_to_executable ||= File.expand_path('../../../exe/rspec', __FILE__)
+ @path_to_executable ||= File.expand_path('../../../../../bin/rspec', __FILE__)
end
end
|