I am getting this error on my Heroku deployment:
Errno::EAFNOSUPPORT: Address family not supported by protocol -
socket2
usrruby19.2libruby1.9.1nethttprb:644:in initialize
usrruby19.2libruby1.9.1nethttprb:644:in open
usrruby19.2libruby1.9.1nethttprb:644:in block in connect
usrruby19.2libruby1.9.1timeoutrb:44:in timeout
When I make a certain call Twitter like so:
Twitter.profile_image('screen name', :size => 'mini')
This code works locally as per the gem's documentation and I've not been able to Google anything about it.
My local setup is as follows:
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.6.0], MBARI
0x6770, Ruby Enterprise Edition 2011.03
And I am using the bamboo-mri-1.9.2 stack on Heroku.