[英]Unable to install any Ruby gems - undefined method `invoke_with_build_args`
I installed Ruby 2.1 from rubyinstaller.org on my Windows 7 system. 我在Windows 7系统上从rubyinstaller.org安装了Ruby 2.1。
While trying to install any gem, I am facing the following error: 尝试安装任何gem时,我遇到以下错误:
C:\Ruby21>gem install compass
ERROR: Loading command: install (Win32::Registry::Error)
The system cannot find the file specified.
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
I've no clue what's wrong. 我不知道怎么了。
Try to reinstall again the ruby package using cygwin installer. 尝试使用cygwin安装程序重新安装ruby软件包。 Even if they are the same version. 即使它们是相同的版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.