Hi guys,
I have the same issue on CentOS Linux release 7.1.1503:
# gem install rails
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
==================
# gem -v
2.4.5
# yum install zlib-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.steadfast.net
Package zlib-devel-1.2.7-13.el7.x86_64 already installed and latest
version
Nothing to do
As show above, the zlib is installed, but run "gem install rails" again,
it still cannot load zlib.
Any one has the same issue ? How to fix this ?
Thanks,
Ben
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/2fb8aa08ae7d196ebad913e406ea85c0%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.