Ruby Gem Installation - Norton Mac

I have installed "Norton Internet Security" on my Mac ( OS X 11), I have an issue when installing ruby gems with using my application. After some debugging with my app I found that the Norton Firewall --> Connection Blocking is trying to block the connection to rubygems.org, when I disable the connection blocking and rerurn the program it works as expected. 

I searched the Norton menus to see if I can add "rubygems.org" to trusted site but i dont have options for domain names but only ips.

Error trace:

==> default: [2014-10-26T18:32:44+05:30] ERROR: chef_gem[treetop] (dynamically defined) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'

==> default: ---- Begin output of /opt/chef/embedded/bin/gem install treetop -q --no-rdoc --no-ri -v ">= 1.4" ----

==> default: STDOUT: 

==> default: STDERR: ERROR:  While executing gem ... (Gem::DependencyError)

==> default:     Unable to resolve dependencies: treetop requires polyglot (~> 0.3)

==> default: ---- End output of /opt/chef/embedded/bin/gem install treetop -q --no-rdoc --no-ri -v ">= 1.4" ----

==> default: Ran /opt/chef/embedded/bin/gem install treetop -q --no-rdoc --no-ri -v ">= 1.4" returned 1

Has anyone faced this issue and has some solutions. 

Regards,

Kamesh