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
How to Jump from Do to End of a Ruby Block Using Vim
Phonegap and Rails 3: How to Interact with a Rails 3 App
Rails Routing: Giving Default Values for Path Helpers
Unwanted Form Parameters Being Appended to Pagination Links
Gem Install Rails Does Not Install Rails
Rails Sitemap_Generator Uninitialized Constant
Invoking Knife in a Ruby Class
Accessing Headers from Sinatra
Convert Named Matches in Matchdata to Hash
Testing Rake Task with Rspec with Rails Environment
How to Store a Ruby Array into a File
What the Purpose of Bind/Unbind Methods in Ruby
Fast Fuzzy/Approximate Search in Dictionary of Strings in Ruby