ruby-on-rails – 使用gem安装rails,错误加载命令:install unde
发布时间:2020-12-16 19:28:15 所属栏目:百科 来源:网络整理
导读:我试着在Debian上安装rails.运行此命令时 宝石安装导轨 我给出了这个错误: ERROR: Loading command: install (LoadError) cannot load such file -- zlibERROR: While executing gem ... (NoMethodError) undefined method ``invoke_with_build_args' for n
我试着在Debian上安装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 即使我尝试这个命令: 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 build instruction构建ruby 我该怎么做才能克服这个错误? 解决方法
对于谁从源代码编译,他们必须检查依赖项.我想你需要安装这个库:
sudo apt-get install libssl-dev 然后你必须重新编译ruby并且一切正常. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |