我正在尝试在 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
我能做些什么来克服这个错误?