Thank you for your suggestion. I already tried gen install mechanize. I
just did it again to post the outcome:
[[email protected] ~]# ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
I was missing the libxml2, as you can see from this msg:
[[email protected] ~]# gem install mechanize
Building native extensions. This could take a while…
ERROR: Error installing mechanize:
ERROR: Failed to build gem native extension.
checking for libxml/parser.h… no
libxml2 is missing. please visit
http://nokogiri.org/tutorials/installing_nokogiri.html for help with
I went to the page listed above and followed the procedure listed,
installing the require packages.
I then proceded to install mechanize and it worked.
NOW I HAVE A NEW PROBLEM, WITH OPENSSL:
I tried installing openssl via: rvm package install openssl This
installation worked. However, the shoes install still complaining that
openssl is not there. openssl is found at:
OpenSSL 0.9.8n 24 Mar 2010
THE FOLLOWING IS THE OUTPUT WHEN I TRY T BUILD SHOES:
Initialized empty Git repository in /usr/local/shoes/.git/
remote: Counting objects: 9741, done.
remote: Compressing objects: 100% (3089/3089), done.
remote: Total 9741 (delta 6630), reused 9595 (delta 6519)
Receiving objects: 100% (9741/9741), 4.46 MiB | 42 KiB/s, done.
Resolving deltas: 100% (6630/6630), done.
Loaded plugins: ibm-cds-plugin, ibm-repository, refresh-packagekit
Setting up Install Process
Package giflib-devel-4.1.6-3.1.el6.x86_64 already installed and latest
Package cairo-devel-1.8.8-3.1.el6.x86_64 already installed and latest
No package libpixman-devel available.
Package pango-devel-1.28.1-3.el6_0.5.x86_64 already installed and latest
Package libjpeg-devel-6b-46.el6.x86_64 already installed and latest
Package gtk2-devel-2.18.9-4.el6.x86_64 already installed and latest
Package libcurl-devel-7.19.7-16.el6.x86_64 already installed and latest
Package ruby-devel-22.214.171.1249-5.el6_0.1.x86_64 already installed and
Nothing to do
no such file to load – openssl
<top (required)>' <internal:lib/rubygems/custom_require>:29:inrequire’
require' /usr/local/lib/ruby/gems/1.9.1/gems/mechanize-1.0.0/lib/mechanize.rb:2:in<top (required)>’
require' <internal:lib/rubygems/custom_require>:33:inrescue in require’
require' /usr/local/shoes/Rakefile:291:in<top (required)>’
block in load_rakefile' /usr/local/lib/ruby/1.9.1/rake.rb:2058:instandard_exception_handling’
I also checked the openssl that came with RHEL 6:
[[email protected] openssl]#* rpm -qa | grep -i openssl*
Basically, I am totally lost.
Thank you for your help.