Skip to content

Commit

Permalink
Use File::PATH_SEPARATOR
Browse files Browse the repository at this point in the history
- thanks to Luis Lavena for the pointer
- Closes #289.
  • Loading branch information
dchelimsky committed Jan 25, 2011
1 parent ada3a5d commit dbbb891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/core/rake_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def spec_command
cmd_parts << "bundle exec" if gemfile? unless skip_bundler
cmd_parts << runner
if rcov
cmd_parts << ["-Ispec:lib", rcov_opts]
cmd_parts << ["-Ispec#{File::PATH_SEPARATOR}lib", rcov_opts]
else
cmd_parts << rspec_opts
end
Expand Down

0 comments on commit dbbb891

Please sign in to comment.