I am trying to install rails on Debian. when running this command
gem install rails
I gave this error:
ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method ``invoke_with_build_args' for nil:NilClass
even when I try this command: gem install I gave this error:
ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method ``invoke_with_build_args' for nil:NilClass
I used this link to create ruby ββfrom sources Ruby 2.1.2 build instruction
What can I do to overcome this error?
linux ruby ruby-on-rails gem debian-based
saman
source share