Closed kvokka closed 7 years ago
The first commit looks like it's just reverting a bunch of pull requests that people have made since the gem was last released. That doesn't seem right.
At first, I whant to say, that the copyes of gem at rubygems.org
and at github
are different and, copy from rubygems works correct, and github copy layed down. After this syncronization everything become normal.
You can check it by yourself, just build this gem from sourse and try to use.
In what way did the GitHub version work incorrectly?
in context of bundle exec guard
running
kvokka@kvokka-PC:~/proj/qna$ bundle exec guard
22:51:26 - INFO - [Guard::Rails] will start the default web server on port 3000 in development.
22:51:26 - INFO - Starting Rails...
=> Booting Puma
=> Rails 4.2.5 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Puma 2.15.3 starting...
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://localhost:3000
22:51:32 - INFO - Rails started, pid 7934
22:51:32 - INFO - Bundle already up-to-date
22:51:32 - INFO - Inspecting Ruby code style of all files
Inspecting 48 files
................................................
48 files inspected, no offenses detected
22:51:34 - INFO - Guard::RSpec is running
/home/kvokka/.rvm/gems/ruby-2.3.0/gems/listen-3.0.5/lib/listen/fsm.rb:76:in `validate_and_sanitize_new_state': Listen::Listener can't change state from 'backend_started' to 'stopped', only to: frontend_ready (ArgumentError)
from /home/kvokka/.rvm/gems/ruby-2.3.0/gems/listen-3.0.5/lib/listen/fsm.rb:55:in `transition'
from /home/kvokka/.rvm/gems/ruby-2.3.0/gems/listen-3.0.5/lib/listen/listener.rb:98:in `stop'
from /home/kvokka/.rvm/gems/ruby-2.3.0/gems/guard-2.13.0/lib/guard/aruba_adapter.rb:48:in `ensure in execute'
from /home/kvokka/.rvm/gems/ruby-2.3.0/gems/guard-2.13.0/lib/guard/aruba_adapter.rb:56:in `execute'
from /home/kvokka/.rvm/gems/ruby-2.3.0/gems/guard-2.13.0/lib/guard/aruba_adapter.rb:19:in `execute!'
from /home/kvokka/.rvm/gems/ruby-2.3.0/gems/guard-2.13.0/bin/_guard-core:11:in `<main>'
Tested just now. And works correct with my patch.
Can you please rebase on master and I will review.
I don't believe this fixes any outstaning issues. Please feel free to rebase and I will review.
First commit fix changes between sourse from github and sourse from rubygems. It was very tricky
The second one fix guard crush on exit. My guard addition list is:
and on exit i've got (it's not the last version of error, but enougth to get into the idea)
This fix swith off error raising