Skip to content

Getting Segmentation Fault when trying to run require 'ruby_postal/expand' #11

@detournemint

Description

@detournemint

Hi there,
I've installed libpostal via the instructions, i created a /data folder with full permissions open.
i have the ruby_postal gem installed and when trying to run in rails console

2.1.4 :001 > require 'ruby_postal/expand'
/home/greggh/.rvm/gems/ruby-2.1.4/gems/ruby_postal-1.0.0/lib/ruby_postal/cpostal/expand.so: [BUG] Segmentation fault at 0x00000000000004
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-linux]

My data dir is 1.9 gb which is the only other cause i saw of a segfault error when I looked it up. (Issue #3 ) but no dice. I have 30gb of ram and 500 gb of disk space.

Any idea what's up or what I can try? It seems to be rails specific as running a file with just the import statement ruby test.rb works just fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions