Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Falls back to polling on MacRuby #50

Closed
semaperepelitsa opened this Issue · 12 comments

5 participants

@semaperepelitsa

When I'm using MRI it works fine, but when I use MacRuby it falls back to polling. It has rb-fsevent installed:

*** LOCAL GEMS ***

ffi (1.0.11)
hotcocoa (0.6.3)
listen (0.4.7)
rb-fchange (0.0.5)
rb-fsevent (0.9.1)
rb-inotify (0.8.8)
rmagick (2.13.1)

Any ideas? This is MacRuby 0.12 (ruby 1.9.2) [universal-darwin10.0, x86_64], OS 10.7.4

@thibaudgg
Owner

We never test listen (and I think rb-fsevent) on MacRuby, so it seems to didn't work :)

Have you try to run the test suite?

@semaperepelitsa

It just stops at a random moment with this error:

terminate called throwing an exception
zsh: illegal hardware instruction
/usr/local/bin/rspec spec/**/*_spec.rb
@thibaudgg
Owner

@guard/core-team is anyone have some experience with MacRuby and this error illegal hardware instruction?

@netzpirat
Owner

I have no MacRuby experience, but I'd ask on the MacRuby mailing list.

@thibaudgg
Owner

@netzpirat thanks!

@thibaudgg
Owner

@netzpirat do you get some answer on the MacRuby mailing list?

@netzpirat
Owner

I haven't asked myself, I've just said I would ask if I were @semaperepelitsa :P

@thibaudgg
Owner

Got it, @semaperepelitsa have you done that? :)

@Maher4Ever
Collaborator

I can't help either because I don't use Mac on a daily basis.

@preadaptation

I am having a similar problem (MacRuby 0.12; guard-rspec works fine on Ruby 1.9.3 on the same machine and the same files):

20:51:07 - ERROR - Invalid Guardfile, original error is:
> [#] undefined method `include' for #<Guard::Dsl:0x40151f7a0 ...>
20:51:07 - ERROR - No guards found in Guardfile, please add at least one.
20:51:07 - INFO - Guard is now watching at '/Users/admin/app'
Assertion failed: ((b->flags & flags) == flags), function rb_vm_prepare_block, file dispatcher.cpp, line 1409.
Abort trap: 6

Has anyone managed to use guard on MacRuby?

@thibaudgg
Owner

@preadaptation I never heard of someone using Guard on MacRuby sorry.

@preadaptation

All the same, thanks for your reply @thibaudgg.

@thibaudgg thibaudgg closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.