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
Require bundler so that Bundler::GemfileNotFound becomes available #464
Require bundler so that Bundler::GemfileNotFound becomes available #464
Conversation
👍 |
lgtm 👍 |
Ok
|
I verified this manually, but I'm wondering if we can back this with a test. It's likely more appropriate to open a separate issue to create tests for nanoc's executable. Does this seem like a good idea? |
Yup Fredy Otén
|
@jugglinmike The problem is that we already use Bundler to run the tests, which means bundler is already required. |
Our dependence on Bundler is no problem for testing this change--it just needs to ensure that the executable functions correctly in the absence of a |
@jugglinmike It’s very hard to test properly because it depends on the gems you have installed. You’d need to have a way of automatically testing with different gem setups (no Bundler + no Gemfile, no Bundler + Gemfile, Bundler + no Gemfile, Bundler + Gemfile). |
…und-error Require bundler so that Bundler::GemfileNotFound becomes available
Without requiring
bundler
,Bundler::GemfileNotFound
does not exist.Sorry for the delay in fixing this. :(
CC @bobthecow @gpakosz @jugglinmike - 👍 if you like (picking some random people to review)