Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure_gem("terraform") doesn't play well with Bundler #9

Open
cespare opened this issue Oct 25, 2012 · 0 comments
Open

ensure_gem("terraform") doesn't play well with Bundler #9

cespare opened this issue Oct 25, 2012 · 0 comments

Comments

@cespare
Copy link
Collaborator

cespare commented Oct 25, 2012

In the Barkeep deploy, we use ensure_gem("terraform") before running bundle install. This breaks every time the version of Terraform bumps, because the version of terraform loaded won't match the version in the Gemfile.

Perhaps this will be fixed with a more reasonable terraform loading system (we load terraform from about 3 different places in the Barkeep configuration, sometimes from bundler, sometimes from the written-out DSL file, sometimes via ensure_gem). I think we need a better example terraform deployment than Barkeep.

I suspect that you never want to have ensure_gem("terraform") -- I think that you should either require the DSL file, or load it via Bundler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant