又是这个date format的错误。
上次出错忘了,记录下来,可好又得查一遍,赶快抄回来。
Invalid gemspec in [/home/ra/.rvm/gems/ruby-1.9.2-p180/specifications/json_pure-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 00:00:00.000000000Z"
总之,问题就是这个格式的时间,认不出来
那么理论上只要
在给出的问题gem包里把
"s.date = %q{2011-05-21 00:00:00.000000000Z}"
#改成
"s.date = %q{2011-05-21}"
也有说可以gem update或者再装解决
我比较推荐
#/home/user/.rvm/gems/ruby-1.9.2-p180/specifications/
grep -i *.gemspec -e '.*s\.date.*=.*%q{\(....-..-..\) \(.*Z\)}
或者
sed -i -e 's/\(.*\)s\.date.*=.*%q{\(....-..-..\) \(.*Z\)}/\1s.date = %q\{\2}/p' ./*.gemspec
shell脚本多文件替换,方便快捷
#或者删了再装
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
rm `rvm gemdir`/specifications/*.gemspec
gem update --system
gem install bundler
bundle install
分享到:
相关推荐
Errors may be due to a misunderstanding of the format. With more than 25 years experience in CAM software we at Ucamco know which areas are most often misunderstood. This revision of the RS-274X ...
format ' x' invalid or incompatible with argument 解决办法
解决Invalid byte 1 of 1-byte UTF-8 sequence
protel.99 format '%x' invalid or incompatible with argument打软体报错补丁
解决protel 99 出现 format ' x' invalid or incompatible with argument这个错误时的解决方法
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 at org.apache.coyote....
Possible world semantics underlies many of the applications of modal logic in computer science and philosophy. The standard theory arises from interpreting the semantic de nitions in the ordinary meta...
唯一解决 Protel 99 SE 'Format '%x' invalid or incompatible with argument' 的方法 4核的电脑
myelicpse 出现Invalid location of tag的问题解决方法
前言 目前在项目中我们使用...fecha.format接收一个Date对象(或一个时间戳)和一个字符串形式的日期格式,然后返回一个字符串(处理后的日期)。 注意: 当传入的参数无效时,fecha会报错 fecha.format(<Date>, <
IL 格式不正确Bad IL Format 解决方案二
1,根据modinfo命令查看vermagic的值 2,根据uname -r查看内核版本 3,对比上边两步的值是否相同 若相同,我就不知道了 d 若不同,采用make -C /lib/modules/此处为你内核版本号对应的文件夾/build M=你模块源码的路徑...
大家在使用Protel 99 SE时在导入自定义库时是否经常遇到莫名其妙的弹窗 'Format '%x' invalid or 问题,此资源提供了彻底解决此问题的办法,内有解决工具和说明文件。
求问各位大神,在仿真是出现以下问题:Evaluation of expression resulted in an invalid output. Only finite double vector or matrix outputs are supported。估计是.m文件调用的问题,求解释,拜谢拜谢。
Because some committers work on different parts, the total number in the committers section of the triangle is higher than in the above triangle. The kernel is the main building block of FreeBSD. ...
7 Repair of the Explorer to drag the file to the left directory tree, if the disk in the same folder instead of moving to perform the copy operation BUG; 8 Fixed shortcut key F4, and Shoulong address...
The availability of drivers that support the features of the specification will simplify the process of developing Windows appli¬cation programs that in-corporate absolute coordinate input, and ...
Subject to the licenses granted in Section 2.1 and 3.1, Licensor retains all right, title and interest in and to all copies of the Software in any format or medium, including, but not limited to, any...
ResourceTemplate, but cannot be disassembled as such because the EndTag does not appear at the very end of the buffer. AcpiExec - Added the "-t" command line option to enable the serialized mode of ...
4. The Licensee shall not allow a third party to use the software or circulate the software to a third party in case the third party is suspected to contravene the provisions of this Agreement ...