Segmentation fault when trying to signup
When I try to signup the server crashes with the following error message:
I have Mac OS X 10.4.2, rails 0.13.1, sqlite3-ruby 1.1.0 and fixrbconfig 1.2.
deadlock 0x251bf78: run:-/usr/lib/ruby/1.8/timeout.rb:41: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
I have Mac OS X 10.4.2, rails 0.13.1, sqlite3-ruby 1.1.0 and fixrbconfig 1.2.
Leave a comment
This is caused by an incorrectly installed sqlite3-ruby.
1. gem uninstall sqlite3-ruby
1. download SWIG (http://www.swig.org/download.html) and build it.
1. gem install sqlite3-ruby
1. gem uninstall sqlite3-ruby
1. download SWIG (http://www.swig.org/download.html) and build it.
1. gem install sqlite3-ruby
I'm having the same problem and want to get things working. The SWIG instructions are confusing me a little, though. When you say "download SWIG and build it", does build refer to SWIG or to sqlite3-ruby? When I downloaded SWIG, i got an application, so I'm not sure how I'd build that, and when I run
gem install sqlite3-ruby
I'm not sure how to specify that SWIG needs to be involved in the process somehow. Am I missing something obvious?
You need to build SWIG, but that's only if you're building the Unix version. It sounds like you might be on Windows, in which case you'll have an executable. Note that if you are on a Unix based system (Linux or Mac OS X, you want to get the source version and build it). Anyway, you don't need to specify anything about SWIG when you build the sqlite3-ruby gem: SWIG just ensures that it gets built properly.