or Create a profile
08 Jul, 2011 05:40 PM
I have installed the mechanize gem which uses webrobots and
everything works fine on OSX (Snow Leopard). However, running
"bundle install" on CentOS generates this error:
Invalid gemspec in
invalid date format in specification: "2011-07-01
** [out :: 10.180.82.250]
_resort!': undefined methodname' for nil:NilClass
_resort!': undefined method
Any suggestions on a fix?
2 Posted by chip on 08 Jul, 2011 08:48 PM
I solved my own problem by adding the following to my
gem "webrobots", "~> 0.0.10", :git =>
I'm not sure if it matters, but I added these lines above "gem
'mechanize'", in case bundler needs them to be specified
I hope this helps anyone else that runs into this issue.
3 Posted by collin on 13 Jul, 2011 09:57 PM
Also you could change "2011-07-01 00:00:00.000000000Z" to
"2011-07-01" in the gemspec, until you update anyway...
chip closed this discussion
on 16 Jul, 2011 06:44 PM.
4 Posted by Nick Quaranto on 29 Jul, 2011 03:30 PM
I would just use a standard date entry like
07-29-2011 or just change it to
Date.today when generating the gemspec.
Comments are currently closed for this discussion.
You can start a new one.
3 people watching.
No more actions from RubyGems.org or the discussion starter are required.
This discussion is private.
Only you and RubyGems.org support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.