Package Configuration for Libffi Is Not Found in MACos While Installing Travis-Cli

package configuration for libffi is not found in macOS while installing travis-cli

This will do the trick

sudo gem install -n /usr/local/bin cocoapods -v 1.8.4

Latest CocoaPods 1.10.0 won't work.

Update!

if you want to instal CocoaPods 1.10.0 + you can use HomeBrew and then enter the below in command line

brew install cocoapods

Travis cli installation fails on mac

I wasn't able to install travis using ruby that comes builtin with xcode command line developer tools but installing ruby using brew install ruby followed by sudo gem install travis -v 1.8.9 --no-rdoc --no-ri resulted in a successful travis installation.

NOTE: You may need to add travis gem to your system path.

Error installing cocoa pods on macOS Big Sur

This would be resolved by:

sudo gem install -n /usr/local/bin cocoapods -v 1.8.4

If you needed to install CocoaPods 1.10.0 + you can use HomeBrew and use the command below in your command line:

brew install cocoapods

Installing nio4r via brew install throws an error on macOS catalina

You can disable this error with option -Wno-error=implicit-function-declaration

So try this

gem install nio4r -v '1.2.1' -- --with-cflags="-Wno-error=implicit-function-declaration"

You can add the same option for bundler:

bundle config --local build.nio4r --with-cflags="-Wno-error=implicit-function-declaration"
# and then
bundle install

Mac 10.8.4 failed to install any native ruby gem extension

Finally I've solved my problem, by reinstall xcode and command line tools, and then reinstall ruby with rvm



Related Topics



Leave a reply



Submit