Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Automate bundle install of submodules.

  • Loading branch information...
commit 1e04cad96c0a500baa8f35fd1f488c9c556f0f91 1 parent 0fe06ef
Phil Hagelberg technomancy authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 Rakefile
7 Rakefile
View
@@ -2,15 +2,14 @@ debs = ["heroku", "foreman"]
def sub_bundle(submodule, cmd)
Bundler.with_clean_env do
- system "cd #{submodule}; bundle #{cmd}" or abort
+ # TODO: talked with indirect; next bundler rc will make this unset unneeded
+ system "cd #{submodule}; unset GEM_HOME RUBYOPT; bundle #{cmd}" or abort
end
end
def build_deb(name)
unless File.exist? name + "/vendor/bundle"
- # AFAICT this is broken due to a bug in Bundler
- # sub_bundle name, "install --path vendor/bundle"
- abort "Need to manually run bundle install in #{name} due to bundler bug"
+ sub_bundle name, "install --path vendor/bundle"
end
sub_bundle name, "exec rake deb:clean deb:build"
Please sign in to comment.
Something went wrong with that request. Please try again.