Skip to content

Commit

Permalink
clear cache for ruby 1.9.3 due to security upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Oct 12, 2012
1 parent 67c6c08 commit 794aff5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/language_pack/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,12 @@ def build_bundler
version = run("env RUBYOPT=\"#{syck_hack}\" bundle version").strip
topic("Installing dependencies using #{version}")

cache_load "vendor/bundle"
if ruby_version == "ruby-1.9.3"
topic "Clearing cache for ruby-1.9.3 security update"
cache_clear "vendor/bundle"
else
cache_load "vendor/bundle"
end

bundler_output = ""
Dir.mktmpdir("libyaml-") do |tmpdir|
Expand Down

0 comments on commit 794aff5

Please sign in to comment.