Permalink
Browse files

write bundler version

  • Loading branch information...
1 parent 4f7dbcf commit 01ebdc68194f4ed4ff6b360edf42d4a3787c453c @hone hone committed Mar 19, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/language_pack/ruby.rb
@@ -604,7 +604,8 @@ def load_bundler_cache
full_ruby_version = run(%q(ruby -v)).chomp
heroku_metadata = "vendor/heroku"
ruby_version_cache = "#{heroku_metadata}/ruby_version"
- buildpack_version_cache = "vendor/heroku/buildpack_version"
+ buildpack_version_cache = "#{heroku_metadata}/buildpack_version"
+ bundler_version_cache = "#{heroku_metadata}/bundler_version"
# fix bug from v37 deploy
if File.exists?("vendor/ruby_version")
@@ -630,6 +631,9 @@ def load_bundler_cache
File.open(buildpack_version_cache, 'w') do |file|
file.puts BUILDPACK_VERSION
end
+ File.open(bundler_version_cache, 'w') do |file|
+ file.puts BUNDLER_VERSION
+ end
cache_store heroku_metadata
end

0 comments on commit 01ebdc6

Please sign in to comment.