Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bundler git gemspec bug.

Bundler 1.3.0.pre.8 broke backwards compatibility with gemspecs.
6548e31e8ad061403d65505d7d2e17c489b262cc changes how gemspecs are being
generated which is causing problems with git gemspecs that are not self
contained. See for the
differences in the gemspec.
  • Loading branch information...
commit 22e91fe994fc9a271140c5d1c22cd7b09cf708ec 1 parent 01ebdc6
@hone hone authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/language_pack/ruby.rb
6 lib/language_pack/ruby.rb
@@ -624,6 +624,12 @@ def load_bundler_cache
+ # fix git gemspec bug from Bundler 1.3.0+ upgrade
+ if File.exists?(bundler_cache) && !File.exists?(bundler_version_cache)
+ puts "Old bundler cache detected. Clearing bundler cache."
+ purge_bundler_cache
+ end
FileUtils.mkdir_p(heroku_metadata), 'w') do |file|
file.puts full_ruby_version
Please sign in to comment.
Something went wrong with that request. Please try again.