Skip to content

Commit

Permalink
refactor bundler_cache location
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Oct 14, 2012
1 parent 18ec605 commit d0bcba5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/language_pack/ruby.rb
Expand Up @@ -575,14 +575,17 @@ def run_assets_precompile_rake_task
end
end

def bundler_cache
"vendor/bundle"
end

def load_bundler_cache
cache_load "vendor"

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"
bundler_cache = "vendor/bundle"

# fix bug from v37 deploy
if File.exists?("vendor/ruby_version")
Expand Down

0 comments on commit d0bcba5

Please sign in to comment.