I found https://github.com/infused/dbf is only for reading, is there some ready-made gem that can help me to modify the record of dbf file? I can modify the file by destop software like Gtkdbfeditor, but I would like to do it in Ruby. Thanks.
Asked
Active
Viewed 438 times
2 Answers
2
You can use this library instead:

victor sosa
- 899
- 13
- 27
-
I am glad to hear that's work for you – victor sosa Sep 12 '14 at 13:10
0
I'm not aware of a direct way (so someone else might have a better answer) but I believe there are ODBC connnectors you can use... here's an old SO Post on this
So if you can install an ODBC driver for your dbs that might be a way forward.

Community
- 1
- 1

SteveTurczyn
- 36,057
- 6
- 41
- 53
-
yep, ODBC is an option for that, but [shp-ruby](https://github.com/spatialnetworks/shp-ruby) is a better choice for me, thanks for your answer. – Zernel Sep 12 '14 at 08:25
-
Not a problem... I myself am glad to have learned about shp-ruby ! Cheers Steve – SteveTurczyn Sep 12 '14 at 08:27