我试着在Debian上安装rails.运行此命令时
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 install
我给出了这个错误:
ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method ``invoke_with_build_args' for nil:NilClass
我使用这个链接从源代码ruby 2.1.2构建指令构建ruby
我该怎么做才能克服这个错误?