I am sending an ajax request to a controller where httparty retrieves information from a server. The problem I am having is when I send the ajax post request to the controller the local webbrick server shuts down. I am getting a segmentation fault error. Any idea what the problem is?
Asked
Active
Viewed 116 times
1
-
Please add the stacktrace you're seeing, probably best to use a pastebin, like [github gists](https://gist.github.com). – x1a4 Sep 28 '12 at 22:52
-
I haave sometimes such problem with other gems. But everything works good again after reinstalling such gem. I think It can be rvm bug. – Fivell Sep 28 '12 at 23:15
-
1Do you see the same crash when not using webrick? I always recommend using whichever server you deploy in production in your local environment. Webrick is pretty awful, honestly, and I don't recommend anyone to use it for anything. – x1a4 Sep 28 '12 at 23:16
-
I've tried thin. It still crashes. – Brian Sep 28 '12 at 23:17
-
Trying this now: http://stackoverflow.com/questions/10540155/rails-segmentation-fault-on-mac-osx-with-rvm – Brian Sep 28 '12 at 23:18
-
This seems to stop the thin server from crashing: rvm pkg install openssl rvm reinstall 1.9.3 --with-openssl-dir=$rvm_path/usr – Brian Sep 28 '12 at 23:25