Permalink
Browse files

tweak format for spec_script path

  • Loading branch information...
1 parent e9d0ecd commit e7b87c4d489c3a7d243844c1e3fc1fb7ab68609a @dchelimsky committed Sep 14, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/spec/rake/spectask.rb
@@ -118,7 +118,7 @@ def self.attr_accessor(*names)
# Use verbose output. If this is set to true, the task will print
# the executed spec command to stdout. Defaults to false.
attr_accessor :verbose
-
+
# Explicitly define the path to the ruby binary, or its proxy (e.g. multiruby)
attr_accessor :ruby_cmd
@@ -142,7 +142,7 @@ def initialize(name=:spec)
end
def define # :nodoc:
- spec_script = File.expand_path(File.dirname(__FILE__) + '/../../../bin/spec')
+ spec_script = File.expand_path(File.join(File.dirname(__FILE__),"..","..","..","bin","spec"))
lib_path = libs.join(File::PATH_SEPARATOR)
actual_name = Hash === name ? name.keys.first : name

0 comments on commit e7b87c4

Please sign in to comment.