Skip to content

I get an error about TZInfo being undefined

rubyredrick edited this page Sep 13, 2010 · 1 revision

RiCal needs an implementation of TZInfo, but that implementation can be provided by either:

  • The TZInfo gem
  • ActiveSupport ( part of Ruby on Rails) version 2.2 or later

RiCal doesn’t care which implementation, but it does need one of them.

To leave the application the choice, the RiCal code doesn’t explicitly require either.

If you are using Ruby on Rails version 2.2 or later, you should be set, otherwise you need to

require ‘tzinfo’

before requiring the RiCal gem.

Clone this wiki locally