Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

mattmartini's Profile

GitHub User: mattmartini

Comments by

Avatar

I'm having trouble with binding of caller. I can't start the rails server (or guard) with it installed. Any ideas on what to do about this error?

dyld: lazy symbol binding failed: Symbol not found: _RUBY_FREE_ENTER
Referenced from: .../.rvm/gems/ruby-1.9.3-p429/gems/binding_of_caller-0.7.1/lib/binding_of_caller.bundle
Expected in: flat namespace

dyld: Symbol not found: _RUBY_FREE_ENTER
Referenced from: .../.rvm/gems/ruby-1.9.3-p429/gems/binding_of_caller-0.7.1/lib/binding_of_caller.bundle
Expected in: flat namespace

Trace/BPT trap

Avatar

Once again your provide timely info. Thanks!
I have a project with two sister schools. The sites are almost identical except for some small cosmetic changes, and they have different dynamic content. The users of each site should be able to login to the other site (but of course privileged accounts should only be privileged in the home site). I can see how to implement this based on your Railscast.
My question is can this be done with two domains instead of sub-domains? I would like to have siteA.com and siteB.com instead of siteA.domain.com and siteB.domain.com. Is this possible? How would I start? Or should I just maintain two sites and have some sort of joint login system (and how would I do that?)

Avatar

Ryan,
Great screencast, and as typical a very timely topic.

Anyway, another way to get rspec to use spork instead of the

:cli => "--drb"

option is to put "--drb" in the .rspec file at the project root dir. I also include "--colour" and "--format progress" (or "--format nested") there.

Avatar

Ryan,
As usual, relevant info presented succinctly with style.

How does Guard compare with Autotest (and Spork)?

I've been using autotest/spork for a while now, and it works well, but if you change a controller or routes the proper specs are run, but fail because spork is running the old version. Does Guard do this better?