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

Does Guard need to be a development dependency? #22

Closed
bfoz opened this issue Aug 4, 2013 · 2 comments
Closed

Does Guard need to be a development dependency? #22

bfoz opened this issue Aug 4, 2013 · 2 comments

Comments

@bfoz
Copy link
Contributor

bfoz commented Aug 4, 2013

Sure, guard is great and all, but not everyone uses it. Does it really need to be listed as a development dependency?

Making guard a dependency forces 'bundle install' to install it, and not everyone wants that. I don't mind, but I can see how others might.

I'm happy to make the change and submit a pull request.

@meltingice
Copy link
Member

Running guard outside of bundler is typically frowned upon, and it needs to be listed as a dependency of some type in order to use it with bundle exec. Installing it shouldn't be much of a problem if your Ruby environment is setup in a sane way.

That said, that reminds me that I need to list rb-fsevent as OSX only. Making that change to the gemspec...

@bfoz
Copy link
Contributor Author

bfoz commented Aug 4, 2013

You're right that installing it isn't much of a problem, but it does add cruft to one's environment. I can see it being an annoyance for people who use any of the guard alternatives (or prefer to run rspec manually); they end up with installed dependencies that they're never going to use. But, it should only be a minor annoyance.

Thanks for taking the time to reply.

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

2 participants