Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 620 Bytes

FAQ.md

File metadata and controls

34 lines (21 loc) · 620 Bytes

FAQ

RGeo is not supported?

If the command below in rails console returns false

RGeo::Geos.supported?
=> false

Remove previous rgeo installation

gem uninstall rgeo

Install GEOS packages

sudo apt-get install libgeos-dev libgeos-x.y.z

Create a symbolic link named libgeos.so that points to the newly installed version of libgeos

cd /usr/lib
ln -s libgeos-x.y.z.so libgeos.so

Clone again the rails project in other location and

bundle install

Now RGeo::Geos.supported? will return true

source: rgeo/rgeo#86 (comment)