summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index b69bec89b7..ec21f6a269 100644
--- a/Rakefile
+++ b/Rakefile
@@ -98,8 +98,8 @@ namespace :spec do
end
deps.sort_by{|name, _| name }.each do |name, version|
- sh "#{Gem.ruby} -S gem list -i '^#{name}$' -v '#{version}' || " \
- "#{Gem.ruby} -S gem install #{name} -v '#{version}' --no-ri --no-rdoc"
+ sh %{#{Gem.ruby} -S gem list -i "^#{name}$" -v "#{version}" || } +
+ %{#{Gem.ruby} -S gem install #{name} -v "#{version}" --no-ri --no-rdoc}
end
# Download and install gems used inside tests