0

I seem unable to install any gems. When I try something like sudo gem install rails or sudo gem install rdiscount I get the following errors:

ERROR:  Loading command: install (LoadError)
        cannot load such file -- zlib
ERROR:  While executing gem ... (NoMethodError)
        undefined method `invoke_with_build_args` for nil:NilClass

Can anyone please help me figure out the cause of this problem?

Jessica
  • 330
  • 1
  • 2
  • 10

1 Answers1

0

It seems this you have not installed all required libs for. the works, either install it for the , or use and install ruby version you need with it from sources.

Малъ Скрылевъ
  • 16,187
  • 5
  • 56
  • 69