dark-panda/ffi-geos

Undefined Method Errors

dorthwein opened this issue · 0 comments

I just wanted to add a comment incase someone else runs into an issue I had.

If you install RGEO, then install geos/proj/ffi, theres a good chance the Symlinks this package depends on will be messed up causing undefined method errors. This is a real pain to debug. We got it sorted after hours of searching etc.. but heres the gist.

BEFORE installing RGEO - install all of your needed homebrew packages - i.e. geos, ffi, proj4, then and only then should you run bundle install.

If you happen to do it out of order like I recently did setting up a new machine, you can run bundle uninstall rgeo, make sure homebrew stuff is installed, then bundle install.

I had actually given up then when I came back the next day things were working so I think I needed a hard restart or full quit out and restarting the terminal. Anyway hope this commentary helps someone.