Cocoapods installation failed, Failed to build gem native extension
I fixed it by running
brew install cocoapods
And
You may want to remove it:
rm '/usr/local/bin/pod'
To force the link and overwrite all conflicting files:
brew link --overwrite cocoapods
Install homebrew if you haven't already. https://brew.sh/
Issues installing Ruby and Rails and DevKit on windows 7 x64 - fix needed
Seems you installed Ruby (along the DevKit?) inside a directory with spaces.
As indicated during Ruby own installer, path with spaces are not recommended (that is why default is C:\Ruby193
GCC, the compiler that is part of DevKit, has problems with path with spaces, so installation of DevKit is also recommended to be placed in a path without spaces (e.g. C:\DevKit
)
All this is mentioned in both RubyInstaller and DevKit installation instructions page
pg gem installation is giving error in Redhat
You first need to install build tools (i.e. a C compiler and related tools) as well as development headers for your postgres server to be able to compile the gem.
For RedHat, you should be able to get all required tools with
yum install autoconf bison flex gcc gcc-c++ gettext kernel-devel make m4 ncurses-devel patch
yum install postgresql-devel
With Chef 14, you can use the built-in build_essential
resource to install the required compiler packages. On older versions, you can use the build-essential
cookbook.
Multiple errors while trying install ruby on rails through an ubuntu WSL terminal
You are missing a compiler, and probably a lot of other essential libraries and tools from your WSL setup. Hopefully this will cover most of what you need:
sudo apt-get install build-essential
sudo apt-get install libxml2-dev libsqlite3-dev zlib1g-dev liblzma-dev
Related Topics
Using Rails Serialize to Save Hash to Database
Using 'Return' in a Ruby Block
Accepts_Nested_Attributes_For With Belongs_To Polymorphic
How to Run a Rake Task from Capistrano
Rails 3, Has_One/Has_Many With Lambda Condition
Understanding Private Methods in Ruby
Rails: How to Change the Title of a Page
Best Way to Require All Files from a Directory in Ruby
Getting the Hostname or Ip in Ruby on Rails
Which Ruby on Rails Is Compatible With Which Ruby Version
Methods in Ruby: Objects or Not
You Have Already Activated X, But Your Gemfile Requires Y