-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi, I'm trying to use your gem in a small script. I am running into a problem just in adding it to my script. If I add
require 'kerio-api'
to the top of my ruby file, and add nothing else, I get errors when trying to execute the file. Here is the output:
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require': /usr/local/lib/ruby/gems/1.9.1/gems/kerio-api-1.0.0/lib/kerio-api/client.rb:15: syntax error, unexpected tLABEL, expecting ')' (SyntaxError) def initialize (url: nil, insecure: false, debug: false) ^ /usr/local/lib/ruby/gems/1.9.1/gems/kerio-api-1.0.0/lib/kerio-api/client.rb:15: Can't assign to nil def initialize (url: nil, insecure: false, debug: false) ^ /usr/local/lib/ruby/gems/1.9.1/gems/kerio-api-1.0.0/lib/kerio-api/client.rb:15: Can't assign to false def initialize (url: nil, insecure: false, debug: false) ^ /usr/local/lib/ruby/gems/1.9.1/gems/kerio-api-1.0.0/lib/kerio-api/client.rb:25: syntax error, unexpected keyword_end, expecting $end from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require'
from /usr/local/lib/ruby/gems/1.9.1/gems/kerio-api-1.0.0/lib/kerio-api.rb:1:in <top (required)>' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:133:in require'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:133:in rescue in require' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:40:in require'
from NewMailListUpdate.rb:4:in `
Curious if you have any thoughts. Thanks,
Kyle