problem with watch undefined method `start_with?' for #<Pathname:welcome/index.adoc>

23 views
Skip to first unread message

Nikolaj Majorov

unread,
Jun 9, 2017, 4:29:49 AM6/9/17
to AsciiBinder

Hi,
I playing with asciibinder and don't understand why my live preview is not working properly .
I create a repo build it and then I run watch.
And I  always get this exception for any changes in welcome/index.adoc

any idea what I am  doing wrong ? 

asciibinder watch
10:24:41 - INFO - Using Guardfile at /home/nmajorov/.gem/ruby/gems/ascii_binder-0.1.9/Guardfile.
WARN: Unresolved specs during Gem::Specification.reset:
     ffi (>= 0.5.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
10:24:41 - INFO - LiveReload is waiting for a browser to connect.
10:24:41 - INFO - Guard is now watching at '/home/nmajorov/workspace/missions/Ringer/report/report_binder'
[1] guard(main)> 10:24:41 - INFO - Browser connected.
10:24:57 - ERROR - Problem with watch action!
> [#] undefined method `start_with?' for #<Pathname:welcome/index.adoc>                                                                                                            
10:24:57 - ERROR - (eval):3:in `block (2 levels) in evaluate'
> [#] /home/nmajorov/.gem/ruby/gems/guard-2.14.1/lib/guard/watcher.rb:75:in `call_action'                                                                                          
> [#] /home/nmajorov/.gem/ruby/gems/guard-2.14.1/lib/guard/watcher.rb:44:in `block (2 levels) in match_files'                                                                      
> [#] /home/nmajorov/.gem/ruby/gems/guard-2.14.1/lib/guard/watcher.rb:39:in `each'                                                                                                 
> [#] /home/nmajorov/.gem/ruby/gems/guard-2.14.1/lib/guard/watcher.rb:39:in `block in match_files'     

N. Harrison Ripps

unread,
Jun 9, 2017, 9:28:51 AM6/9/17
to ascii...@googlegroups.com
Hi Nickolaj--
Good catch; this is very likely to be a bug introduced by my most recent
refactoring work. I have opened an issue against the source code and you
can track the progress here:

https://github.com/redhataccess/ascii_binder/issues/86

Regards,
Harrison
> --
> You received this message because you are subscribed to the Google
> Groups "AsciiBinder" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to asciibinder...@googlegroups.com
> <mailto:asciibinder...@googlegroups.com>.
> To post to this group, send email to ascii...@googlegroups.com
> <mailto:ascii...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/asciibinder/b5d5f914-f072-4532-ab65-c3e00be408c5%40googlegroups.com
> <https://groups.google.com/d/msgid/asciibinder/b5d5f914-f072-4532-ab65-c3e00be408c5%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Harrison Ripps

unread,
Jun 16, 2017, 2:33:59 PM6/16/17
to AsciiBinder
Nikolaj - can you please tell me what version of Ruby you are using? I am not hitting this in 2.4.1.

You can get this info just by running `ruby --version`

Thanks!
Reply all
Reply to author
Forward
0 new messages