-1

I want to access a Darwin iCal server which i have implemented using my Rails application. I would like to create events and access the server to get events in specific date range. When I tried to install the Caldav gem, I am getting a dependency with the "rexml" gem.

Could not find gem 'rexml (>= 0) ruby', which is required by gem 'caldav (>= 0) ruby', in any of the sources.

Unfortunately rexml is not there in gemscutter or any other sources. Any idea how I can use the Caldav gem ?

gaurav.singharoy
  • 3,751
  • 4
  • 22
  • 25

2 Answers2

1

try this in your Gemfile

gem 'ruby-caldav', github: 'martinpovolny/ruby-caldav'

If it does not work try this Caldav fork gem instead:

https://github.com/agilastic/agcaldav

The Whiz of Oz
  • 6,763
  • 9
  • 48
  • 85
  • Nope. getting this error Could not find gem 'ruby-caldav (>= 0) ruby' in git://github.com/martinpovolny/ruby-caldav.git (at master). Source does not contain any versions of 'ruby-caldav (>= 0) ruby' – gaurav.singharoy Apr 10 '14 at 23:30
1

you may try this https://rubygems.org/gems/twisted-caldav

basically we modified some other caldav client and customised for out needs... but it works with ubuntu calenderserver

Siddhartha Mukherjee
  • 6,138
  • 3
  • 23
  • 11