0% found this document useful (1 vote)
200 views15 pages

Infrastructure As Code

This document describes the challenges faced by a developer trying to install the Ruby on Rails framework on their local machine. They encounter errors related to missing build tools like make and zlib. After searching online help forums and installing the missing dependencies, they are still unable to successfully complete the gem installation due to issues with the nokogiri native extension.

Uploaded by

meh3re
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
200 views15 pages

Infrastructure As Code

This document describes the challenges faced by a developer trying to install the Ruby on Rails framework on their local machine. They encounter errors related to missing build tools like make and zlib. After searching online help forums and installing the missing dependencies, they are still unable to successfully complete the gem installation due to issues with the nokogiri native extension.

Uploaded by

meh3re
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

INFRASTRUCTURE

as CODE

Running Microservices on AWS with


Docker, Terraform, and ECS
Why infrastructure-as-code
matters: a short story.
You are starting a
new project
I know, I’ll use Ruby on Rails!
> gem install rails
> gem install rails
Fetching: i18n-0.7.0.gem (100%)
Fetching: json-1.8.3.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
creating Makefile

make
sh: 1: make: not found
Ah, I just need to install make
> sudo apt-get install make
...
Success!
> gem install rails
> gem install rails
Fetching: nokogiri-1.6.7.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.0.0.rc2
checking for gzdopen() in -lz... no
zlib is missing; necessary for building libxml2
*** extconf.rb failed ***
Hmm. Time to visit StackOverflow.
> sudo apt-get install zlib1g-dev
...
Success!
> gem install rails
> gem install rails
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.0.0.rc2
checking for gzdopen() in -lz... yes
checking for iconv... yes

Extracting libxml2-2.9.2.tar.gz into tmp/x86_64-pc-linux-


gnu/ports/libxml2/2.9.2... OK
*** extconf.rb failed ***
nokogiri y u never install correctly?

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy