This is the error reported by Travis CI when it try to build my gem under Ruby 1.9.3:
NoMethodError: undefined method `spec' for nil:NilClass
I cannot find any reason or source for this error.
This is causing build failures which is misleading people into believing that the code in the gem itself is incorrect.
Why might this be happening and how can I fix it?