I've successfully installed the curb gem on Mac OS X using sudo env ARCHFLAGS="-arch x86_64" gem install curb but when trying to run bundle install I still get this error:
Installing curb (0.7.16) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
I've done some digging and it looks like feedzirra is requiring the gem (it's not listed in the Gemfile). I've tried adding the gem to the Gemfile and pointing it to vendor/gems but that didn't help.
Any help would be greatly appreciated. Also, sorry if there's more clarification needed. This is my first question and I'm fairly new to Ruby on Rails. I'll be glad to provide more details if necessary.
Apparently it needs SSL support for curl, as I had the same error and fixed it with:
sudo apt-get install libcurl4-openssl-dev
You might want to try a standard "gem install curb" to see if that works before "bundle install".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With