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

Already on GitHub? Sign in to your account

guard init to add system-specific dependencies for listen to Gemfile, and/or better documentation #330

prusswan opened this Issue Sep 25, 2012 · 4 comments


None yet
3 participants

This is related to guard/listen#5 and the conclusion in guard/listen#54

While I understand the motivation behind guard/listen#54, for those who are using guard directly and are not aware of the change that took place since listen 0.5.x, this poses some sort of regression (it is strange that dependencies that used to be specified are removed, with the user shown a warning to satisfy the 'missing' dependencies if possible)

I propose the following:

  1. update README.md Installation section to account for the listen-related gems, with special care not to confuse them with the system-specific gems under System notifications section.

  2. guard init could possibly insert the relevant lines into Gemfile and do a bundle update


thibaudgg commented Sep 26, 2012

Your propositions sounds very good to me. What do you thing @guard/core-team ?


netzpirat commented Sep 26, 2012

We definitely need to add (again) a section about the file listener dependencies, but I'm not in favor of adding the needed dependency to the Gemfile, mainly because a) I never encountered a gem that does this and b) I want the users read the README and have an understanding of the setup, rather that trying to make Guard smart and customize the users environment. The real source of the problem relies in the fact that RubyGems doesn't support real plattform dependent dependencies and Bundler doesn't have a Gemfile.lock per runtime and OS.

That sounds reasonable enough if the installation steps are clear about the dependencies and the user just has to go through them once and never has to deal with it again (and users of older versions can find them easily as well)

In my experience I never had a problem with installing these 'extra' dependencies on each of the three OS environments I have used guard on, so probably I am just going to add all of them anyway.

@netzpirat netzpirat closed this in 34a9057 Sep 26, 2012


thibaudgg commented Sep 26, 2012

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment