Question

I'm trying to create authentication from scratch using bcrypt and I'm getting a webrick crash when I click the sign up link. The (very long) error message starts with:

Started GET "/assets/members.js?body=1" for 127.0.0.1 at 2012-10-02 14:44:21 -0400
Served asset /members.js - 200 OK (0ms)
/Users/username/.rvm/gems/ruby-1.9.3-p194/gems/bcrypt-ruby-3.0.1/lib/bcrypt_ext.bundle: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]

Is there something wrong with the bcrypt gem? Should I reinstall ruby and/or rails? If so, how would I do that?

Was it helpful?

Solution

After reinstalling my environment, this problem went away.

OTHER TIPS

Something similar for me was fixed by simply wiping out my gems in the current RVM with $ rvm gemset empty then doing a bundle install.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top