Closed michaeloboyle closed 9 years ago
I get this same error
I am getting the same error after upgrading to 0.4.0. It's working fine in production with the previous version.
@willdaly and @eddietejeda which ruby are your running. I may have resolved by going from 2.2.2 -> 2.2.3
Which ruby version? And which version of proj
are you using? (brew list proj
or apt --installed list | grep libproj-dev
)
@teeparham
ruby 2.2.2
$ brew list proj
/usr/local/Cellar/proj/4.9.1/bin/cs2cs
/usr/local/Cellar/proj/4.9.1/bin/geod
/usr/local/Cellar/proj/4.9.1/bin/nad2bin
/usr/local/Cellar/proj/4.9.1/bin/proj
/usr/local/Cellar/proj/4.9.1/include/ (5 files)
/usr/local/Cellar/proj/4.9.1/lib/libproj.9.dylib
/usr/local/Cellar/proj/4.9.1/lib/pkgconfig/proj.pc
/usr/local/Cellar/proj/4.9.1/lib/ (3 other files)
/usr/local/Cellar/proj/4.9.1/share/man/ (5 files)
/usr/local/Cellar/proj/4.9.1/share/proj/ (27 files)
@teeparham @michaeloboyle same as michael, ruby 2.2.2 and proj 4.9.1
proj 4.9.1 is the latest, so that's not it...
On OSX, I created a new rails project with activerecord-postgis-adapter & rgeo 0.4.0, added a table with a spatial column, & added a row, & it worked. I tried it with ruby 2.2.3 and 2.2.2. I haven't noticed any problems on Ubuntu after upgrading either.
Have you updated any of the C libraries that rgeo depends on? Maybe try gem pristine rgeo
, which will re-build the rgeo extensions & re-link the dependent libraries.
same results after gem pristine rgeo
under 2.2.2
OSX 10.10.5
I too was able to bundle install activerecord-postgis-adapter & rgeo on a new rails project without encountering the bug.
@michaeloboyle I upgraded ruby from 2.2.2 to 2.2.3 and was able to install the rgeo gems without encountering the bug.
the following finally worked for me:
gem pristine rgeo
thanks all for your assistance
Any ideas?