【发布时间】:2011-12-07 04:19:24
【问题描述】:
我正在编写一个 gem,我想构建它:
$ gem build llrb.gemspec
gemspec 包含:
s.date = %q{2011-12-5}
但我收到此错误:
[
llrb.gemspec] 中的无效 gemspec:规范中的无效日期格式:“2011-12-5”
gemspec 的正确日期格式是什么?我的 RubyGems 安装有问题吗?
我正在运行 RubyGems 1.8.12。使用 ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]。
【问题讨论】: