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

Require Bundler in Project Generator #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jcambass
Copy link
Contributor

@Jcambass Jcambass commented Mar 10, 2023

When following the setup steps in the readme to generate a new project I run into the following error:

uninitialized constant Runbook::Generators::Project::Bundler

This is due to making use of Bundler::VERSION but not requiring bundler before doing so.

Steps to reproduce:

  1. Be outside of a ruby project.
  2. Run gem install runbook.
  3. Run runbook generate project my_project

When following the setup steps in the readme to generate a new project I run into the following error:

```
uninitialized constant Runbook::Generators::Project::Bundler
```

This is due to making use of `Bundler::VERSION` but not requiring `bundler` before hand.

Steps to reproduce:

1. Be **outside** of a ruby project.
2. Run `gem install runbook`.
3. Run `runbook generate project my_project`
@TuburboMajus
Copy link

TuburboMajus commented Feb 29, 2024

Had the same issue and the fix proposed by @Jcambass worked

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

Successfully merging this pull request may close these issues.

None yet

2 participants