Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
tweak format for spec_script path
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Sep 14, 2009
1 parent e9d0ecd commit e7b87c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/spec/rake/spectask.rb
Expand Up @@ -118,7 +118,7 @@ def self.attr_accessor(*names)
# Use verbose output. If this is set to true, the task will print # Use verbose output. If this is set to true, the task will print
# the executed spec command to stdout. Defaults to false. # the executed spec command to stdout. Defaults to false.
attr_accessor :verbose attr_accessor :verbose

# Explicitly define the path to the ruby binary, or its proxy (e.g. multiruby) # Explicitly define the path to the ruby binary, or its proxy (e.g. multiruby)
attr_accessor :ruby_cmd attr_accessor :ruby_cmd


Expand All @@ -142,7 +142,7 @@ def initialize(name=:spec)
end end


def define # :nodoc: 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) lib_path = libs.join(File::PATH_SEPARATOR)
actual_name = Hash === name ? name.keys.first : name actual_name = Hash === name ? name.keys.first : name
Expand Down

0 comments on commit e7b87c4

Please sign in to comment.