Hello,
I am trying to use the knife-ec2 plugin for chef. The problem is I need to install this on a private network without access to the public internet.
I've downloaded all the necessary gems, but I'm having problems with nokogiri.
I have created a gemspec file on my own to attempt to build and install the gem. It works to install but when I try to call a command like "knife ec2 server list" I get a bunch of nokogiri errors.
I read that nokogiri needs to be compiled against libxml2 and libxslt. How would you go about doing that within a private network using a gemspec file ?
Also, I'm getting a lot of errors within the ruby code of various methods not being found and then there are java libraries which don't seem to be declared in the ruby file. (like EncodingHandler in lib/nokogiri.rb:121)
Can anyone help me understand how to install this gem on my private network without access to the internet ? Yes, I have the github project downloaded and on the private network environment where I want to install.
The gem file I created is very boilerplate.
I am using ruby 1.9.3 and rubygems 1.8.24 on RHEL 6.3 and 6.6
I have install the following with yum
gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison