Arend Arend - 1 year ago 95
Ruby Question

My Rails Console keeps crashing

I have a problem with my Rails Console, it keeps crashing and I can't figure out why. For example, when I type the following

rails c

It begins with the following error:

/Users/****/.rvm/gems/ruby-2.3.0/gems/activerecord- [BUG] Segmentation fault at 0x00000000000110
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]

Then it gives the a whole lot of error messages, with more than 1500 lines with my gemsfiles listed.

I hope someone can help me to fix this problem, by the way I am using macOS Sierra 10.12.1

When anyone needs additional information, please let me know because I don't know what I should include for someone to recognize the problem.

Answer Source

Defect is in sqlite3 gem.. its here and

Try using

gem 'sqlite3', '1.3.12'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download