Questions tagged [vpim]
5 questions
4
votes
2 answers
Create Company Card w/ Vpim Gem
I'm using Vpim to generate .vcf files that users can then import into their address books. The problem that I'm having is that the information that their downloading is for a Company and not a person so I need to mark the card as being such. Is…

Kyle Decot
- 20,715
- 39
- 142
- 263
2
votes
0 answers
How can I include several contacts in a single vcard(.vcf) file using rails and vpim gem?
I have multiple contact datas in my website that I want to include in a single .vcf file to download. I implemented it one by one but I want to add the option to download all the contacts together not one by one.
Is possible to implement a method…

TomasMax
- 107
- 1
- 11
2
votes
1 answer
Why won't Bundler install vPim?
I have the following in my Gemfile:
clear_sources
bundle_path "vendor/bundler_gems"
source "http://gemcutter.org"
...
gem "vpim", "~> 0.658"
# a whole bunch of other gems
When I run gem bundle, I get everything installed except…

James A. Rosen
- 64,193
- 61
- 179
- 261
2
votes
0 answers
attach a vCard to an event in an iCalendar file with vpim gem
Is anyone familiar with the vPim gem
(https://github.com/sam-github/vpim)?
I've been successful creating different iCalendars and vCards. However,
I'm
trying to attach a vCard to an event in an iCalendar file. This article
describes exactly why and…

priyanka Ukirde
- 139
- 5
1
vote
1 answer
How can I attach a generated vcard to a mail message?
Current code that isn't working
attachments["contact.vcf"] = {:content=> card.to_s}
mail(:to =>card.email, :subject =>"Test")
Example Code I've been using:
http://firstruby.wordpress.com/2007/12/10/vcard-exporting-through-rubyonrails/

Eric C
- 63
- 1
- 8