seamusabshere / data_miner

Download, unpack from a ZIP/TAR/GZ/BZ2 archive, parse, correct, convert units and import Google Spreadsheets, XLS, ODS, XML, CSV, HTML, etc. into your ActiveRecord models. Uses RemoteTable gem internally.
MIT License
302 stars 18 forks source link

Is it possible to use `data_miner` on windows? #25

Open towerhe opened 11 years ago

towerhe commented 11 years ago

I have tried to move data_miner to windows platform for days. I found that some gems only can be run on linux, such as posix_spawn, unix_utils, roo, and so on.

@seamusabshere Is there a way to achieve this issue? Please give me some lights.

seamusabshere commented 11 years ago

@towerhe it's tough - we would have to start with https://github.com/seamusabshere/unix_utils

perhaps we can find a good example of another ruby library that successfully calls binaries on jruby AND windows.

towerhe commented 11 years ago

I do think so and I am not sure there is a way to spawn processes like posix_spawn on windows. I am trying to implement an adapter for all the utilities.