![](/img/trans.png)
[英]How to upgrade from Ruby 1.9.2p0 to ruby 1.9.2p180 without rvm?
[英]error installing padrino-cache gem on windows xp, ruby 1.9.2p180 and devkit
gem update padrino-cache
Updating installed gems
Updating padrino-cache
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument - C:/Ruby192/lib/ruby/gems/1.9.1/gems/padrino-cache-0.9.25/test/tmp/#<class:0x0000010084e5a8>
ruby -v
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
关于如何解决这个问题的任何想法?
谢谢!
问题是 gem 以及它的规范(清单)是如何生成的。
您可以在gem spec padrino-cache -v 0.9.25 files
中看到 gem 内容
你会看到这样的东西:
- test/tmp/#<class:0x108b3b4e8>/cache/%2Ffoo
- test/tmp/#<class:0x108b3b588>/cache/%2Ffoo
- test/tmp/#<class:0x108b3b718>/cache/%2Ffoo
- test/tmp/#<class:0x108b46640>/cache/test
- test/tmp/#<class:0x108b5fdc0>/cache/test
- test/tmp/#<class:0x108b60c98>/cache/bar
- test/tmp/#<class:0x108b60c98>/cache/foo
- test/tmp/#<class:0x108b61b20>/cache/test
gem 中包含的文件包含冒号,在 Windows 上用于指示驱动器号,并且不允许作为文件名的一部分。
我会建议将此报告给 Padrino Framework 错误跟踪器:
这已在修补程序版本 0.9.26 中修复。 在此处阅读更多信息: http://www.padrinorb.com/blog/padrino-0-9-26-hotfix-release
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.