Closed saulcozens closed 5 years ago
I'm not too familiar with Ruby, so this is an 'out of the box' installation of Almanack, but I getting:
2017-12-24 14:33:32 - NoMethodError - undefined method `utc' for #<DateTime:0x00000002c7a400>: /home/saul/.rvm/gems/ruby-2.2.2/gems/almanack-1.0.5/lib/almanack/calendar.rb:46:in `block in ical_feed' /home/saul/.rvm/gems/ruby-2.2.2/gems/almanack-1.0.5/lib/almanack/calendar.rb:43:in `each' /home/saul/.rvm/gems/ruby-2.2.2/gems/almanack-1.0.5/lib/almanack/calendar.rb:43:in `ical_feed' /home/saul/.rvm/gems/ruby-2.2.2/gems/almanack-1.0.5/lib/almanack/server.rb:67:in `block in <class:Server>' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1632:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1632:in `block in compile!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:991:in `[]' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:991:in `block (3 levels) in route!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1010:in `route_eval' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:991:in `block (2 levels) in route!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1037:in `block in process_route' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1035:in `catch' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1035:in `process_route' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:989:in `block in route!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:988:in `each' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:988:in `route!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1094:in `block in dispatch!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `block in invoke' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `catch' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `invoke' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1091:in `dispatch!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:923:in `block in call!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `block in invoke' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `catch' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1073:in `invoke' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:923:in `call!' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:913:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/rack-protection-2.0.0/lib/rack/protection/xss_header.rb:18:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/rack-protection-2.0.0/lib/rack/protection/path_traversal.rb:16:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/rack-protection-2.0.0/lib/rack/protection/json_csrf.rb:26:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/rack-protection-2.0.0/lib/rack/protection/base.rb:50:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/rack-protection-2.0.0/lib/rack/protection/base.rb:50:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/rack-2.0.3/lib/rack/null_logger.rb:9:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/rack-2.0.3/lib/rack/head.rb:12:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:194:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1955:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1499:in `block in call' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1726:in `synchronize' /home/saul/.rvm/gems/ruby-2.2.2/gems/sinatra-2.0.0/lib/sinatra/base.rb:1499:in `call' /home/saul/.rvm/gems/ruby-2.2.2/gems/rack-2.0.3/lib/rack/handler/webrick.rb:86:in `service' /home/saul/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /home/saul/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /home/saul/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
When I request the ical feed GET http://localhost:9292/feed.ics
I'm guessing that there's a library that wasn't installed. Any ideas appreciated.
I'm not too familiar with Ruby, so this is an 'out of the box' installation of Almanack, but I getting:
When I request the ical feed GET http://localhost:9292/feed.ics
I'm guessing that there's a library that wasn't installed. Any ideas appreciated.