Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

#52: quote paths in system calls

  • Loading branch information...
commit d22be3af1d55f8e8c519004799f39ceba8115671 1 parent 36d05a5
@cldwalker cldwalker authored defunkt committed
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/rip/installer.rb
  2. +1 −1  lib/rip/packages/gem_package.rb
View
2  lib/rip/installer.rb
@@ -65,7 +65,7 @@ def run_install_hook(package)
Dir.chdir package.cache_path do
ui.puts "running install hook for #{package.name}"
- system "#{rakebin} -s rip:install >& /dev/null"
+ system "'#{rakebin}' -s rip:install >& /dev/null"
end
end
View
2  lib/rip/packages/gem_package.rb
@@ -32,7 +32,7 @@ def fetch!
end
def unpack!
- system "#{gembin} unpack #{cache_file} --target=#{packages_path} > /dev/null"
+ system "'#{gembin}' unpack '#{cache_file}' --target='#{packages_path}' > /dev/null"
end
memoize :metadata
Please sign in to comment.
Something went wrong with that request. Please try again.