J3RN / guard-foreman

A gem to restart Foreman with Guard
MIT License
8 stars 2 forks source link

can't use it without foreman in Gemfile #6

Open kdiogenes opened 8 years ago

kdiogenes commented 8 years ago

When I execute guard I get the following output:

09:57:23 - INFO - Foreman started.

09:57:23 - INFO - Guard is now watching at '/home/kadu/programming/alfacon/rails/alfaconrails'
[1] Foreman guard(main)> /home/kadu/.rvm/gems/ruby-2.2.3@alfacon_rails/gems/bundler-1.13.1/lib/bundler/rubygems_integration.rb:336:in `block (2 levels) in replace_gem': foreman is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
    from /home/kadu/.rvm/gems/ruby-2.2.3@alfacon_rails/bin/foreman:22:in `<main>'
    from /home/kadu/.rvm/gems/ruby-2.2.3@alfacon_rails/bin/ruby_executable_hooks:15:in `eval'
    from /home/kadu/.rvm/gems/ruby-2.2.3@alfacon_rails/bin/ruby_executable_hooks:15:in `<main>'

Any hint in how can I make it works without adding foreman to Gemfile?

J3RN commented 8 years ago

Hey @cerdiogenes! Thanks for reporting this issue. I'm able to replicate this issue by running bundle exec guard. Is that the command you're running as well? I'll start digging on this soon.

kdiogenes commented 8 years ago

Yes, this is the command I'm using.

Em qua, 21 de set de 2016 às 19:49, Jonathan Arnett < notifications@github.com> escreveu:

Hey @cerdiogenes https://github.com/cerdiogenes! Thanks for reporting this issue. I'm able to replicate this issue by running bundle exec guard. Is that the command you're running as well? I'll start digging on this soon.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/J3RN/guard-foreman/issues/6#issuecomment-248765141, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5lCRDGjac1TdT34RUSznGhVewQy5Lmks5qsbRngaJpZM4KBl-W .