Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6233869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:22:46+00:00 2026-05-24T10:22:46+00:00

For every gem execution I am receiving the following error: Invalid gemspec in […rvm/gems/ruby-1.9.2-p136/specifications/webrobots-0.0.10.gemspec]:

  • 0

For every gem execution I am receiving the following error:

Invalid gemspec in [...rvm/gems/ruby-1.9.2-p136/specifications/webrobots-0.0.10.gemspec]: invalid date format in specification: "2011-07-01 00:00:00.000000000Z"

I am not the webrobots maintainer and I can’t uninstall that gem.

There is any safe action to fix this problem on a production server?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:22:47+00:00Added an answer on May 24, 2026 at 10:22 am

    These days with Github and Bundler you don’t have to be a maintainer in order to fix issues in the gems you’re using. Just fork the project on Github, fix whatever issue is there, and them simply point Bundler at your fork. If it is a handy extension to the gem rather than just a hack for yourself you might also consider making a pull request to the original maintainer to roll your changes into the official gem.

    Having said all of that, the issue that might cause this problem doesn’t seem to be present in the gemspec of the 0.0.10 version of webrobots. This issue can occur when the date in the gemspec is in the format that you have in your error e.g.:

    "2011-07-01 00:00:00.000000000Z"
    

    Looking at a snippet of gemspec though we have:

    s.authors = [%q{Akinori MUSHA}]
    s.date = %q{2011-07-01}
    s.description = %q{This library helps write robots.txt compliant web robots in Ruby.
    

    So that seems to be correct. Another issue that has been known to cause this problem is a YAML parser issue, to fix you need to force the use of a particular YAML parser (psych). You need to define the following somewhere:

    require 'yaml'
    YAML::ENGINE.yamler = 'syck'
    

    Lastly you might want to clean your local installation and then do a redeploy which may sort you out. Once again if you’re using Bundler something like this:

    gem update --system
    rvm gemset empty mygemset
    gem install bundler
    gem install
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My ruby interpreter is crashing on almost every page request with the following error:
Why do I get this error every time I type gem install gem_name ?
gem install fails with the following error, How do I specify the heap size
I have a gem: # in /Library/Ruby/Gems/1.8/gems/my_gem-1.0.0/lib/my_gem.rb module MyGem def do_stuff .. end end
To avoid crashing anything I specify the version number for every gem in my
I want to execute a task with whenever rails gem at every reboot like
I have a spork gem issue. Every time I run the spork command I
while attempting to run rake, I run into the following error: heroku rake db:migrate
I am using the ruby gem AWS::S3 to generate expiring urls for my assets
I'm using the acts_as_taggable_on gem on a Rails (Ruby 1.9.3) project. I provide a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.