CSV parse error (CONST_MISSING)

Just have a check require 'csv' => true in the irb terminal of that IIS environment.

If its false, then you need to check the gem.

Also try using Fastercsv. http://fastercsv.rubyforge.org/

Regards.