

When I try to decode directly from script/console (after installinv vcard gem and direct including 'vcard') I succesfuly get Vcard object.

It is interesting that second error is when I am decoding inside a Rails model. (Exception class is Vpim::InvalidEncodingError) I tryed to run gem install vcard and to require 'vcard' directry(config.gem does not include this file after vpim gem) after RailsApp initialization.( config.gem 'vpim' is included in environment.rb) Vpim (0.695) lib/vpim/vcard.rb:692:in `decode'Īpp/models/event.rb:71:in `block (2 levels) in parse_data' StackTrace: NoMethodError (undefined method `each' for #): When I run Vpim::code(data) I get error: undefined method `each' for #
