Rails segmentation fault when starting server?
As per this post, I've reinstalled sqlite3 gem and the problem disappeared:
gem uninstall sqlite3
gem install sqlite3
My software versions:
% ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin11.2.0]
% rails -v
Rails 3.2.1
I found that closing my shell completely (closing all windows and then right-clicking on the terminal icon in the dock and choosing close) and then restarting the terminal fixed this issue.
I had been creating and destroying, using and changing gemsets for a while before I saw this problem. I suspect things just got confused was all.
I had a similar problem with 1.9.3. I had to:
- unstall sqlite3 and reinstall
- For extra measure uninstalled rake and reinstalled it.
Works now.