Permalink
Browse files

fix for ci #2

  • Loading branch information...
1 parent 3baa833 commit 4fcea4019aaf124d62b050ba8e290e822e1902bd @rkh committed Jun 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/spec.task
View
@@ -4,7 +4,7 @@ def rspec(pattern, format = nil, more_opts = nil, ruby = RUBY, command = 'spec')
files = Dir.glob(pattern).map { |f| f.inspect }.join " "
opts = ["-b -c --format #{format} --loadby mtime --reverse", *more_opts].compact.join " "
command = "bundle exec #{command}" if ENV['BUNDLER']
- sh "RUBYLIB=#{libs.strip}:#{ENV['RUBYLIB'].strip} #{ruby} -S #{command} #{opts} #{files}"
+ sh "RUBYLIB=#{libs.strip}:#{ENV['RUBYLIB'].to_s.strip} #{ruby} -S #{command} #{opts} #{files}"
end
pattern = "spec/**/*_spec.rb"

0 comments on commit 4fcea40

Please sign in to comment.