captured-ruby
captured-ruby copied to clipboard
Snow Leopard issues
Similar to the issue described initially in https://github.com/csexton/captured/issues#issue/2 I experienced problems getting captured to run properly. The output when trying to call captured manually was as follows:
#captured test.jpg
dyld: lazy symbol binding failed: Symbol not found: _curl_global_init
Referenced from: /Library/Ruby/Gems/1.8/gems/curb-0.7.12/lib/curb_core.bundle
Expected in: flat namespace
dyld: Symbol not found: _curl_global_init
Referenced from: /Library/Ruby/Gems/1.8/gems/curb-0.7.12/lib/curb_core.bundle
Expected in: flat namespace
Trace/BPT trap
So I ran through the process as explained by holms: sudo port -v install zlib +universal sudo port -v upgrade --enforce-variants openssl +universal sudo port -v install --enforce-variants libidn +universal sudo port -v install curl +universal followed by sudo gem uninstall curb sudo env ARCHFLAGS="-arch x86_64" gem install curb
This finally allows captured to work. I guess it would be much easier to have these steps be part of the installer, or at least for captured to tell the user to take these steps in case it finds the curl variant to be wrong.