guard / rb-fsevent

FSEvents API with signals handled (without RubyCocoa)

Home Page:https://rubygems.org/gems/rb-fsevent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gem installs, but crashes guard process in JRuby

batasrki opened this issue · comments

Hello,

I'm having an issue in a Rails API app, while trying to run guard.

I'm using JRuby 1.7.3, Rails API 3.2.13 and the latest guard-jruby-rspec (even the vanilla guard-rspec gives the same error).

I am linking in two gists, one detailing the Gemfile, Gemfile.lock and Guardfile and the other showing the stack trace both in regular mode and with Xnative.verbose flag on in JRuby.

https://gist.github.com/batasrki/5799894
https://gist.github.com/batasrki/5798620

Thanks

I think you might need to poke the jruby folks... That stack trace suggests that jruby can't load libc in order to support jruby's POSIX layer.

Actually, it was the fault of boxen. In its setup, it set DYLD_LIBRARY_FALLBACK_PATH to a path in homebrew somewhere. This was preventing the right libraries from loading and breaking all sorts of things.

Once I commented that out, jruby-guard-rspec worked and no rb-fsevent stuff was breaking and spitting out the stack trace.

Closing this issue.

oh thank god... i haven't a fucking clue how i'd go about debugging that. not that i wouldn't try, you know... there's just no better feeling than a bug report being closed by the person who opened it. 👍