lib/dwc-archive.rb in dwc-archive-0.6.0 vs lib/dwc-archive.rb in dwc-archive-0.7.0
- old
+ new
@@ -6,9 +6,10 @@
require 'ostruct'
if R19
require 'csv'
else
+ raise "IMPORTANT: dwc-archive gem requires ruby >= 1.9.1"
require 'fastercsv'
CSV = FasterCSV
if (defined?(Rails) && Rails::VERSION::MAJOR >= 3 && Rails.env.test?)
$" << 'csv.rb'
end