It is an older issue but from 2015 but I think travis just made it come to light. Setting sudo to false may also fix the issue which maybe why your project works.
I have run into with the puppetlabs_spec_helper and one of my own repos. https://travis-ci.org/puppetlabs/puppetlabs_spec_helper/builds/105594903 https://travis-ci.org/logicminds/bmclib/jobs/105521878 Corey On Monday, February 1, 2016 at 10:26:06 AM UTC-8, Rob Nelson wrote: > > Do you know what's triggering it? That doesn't seem like a new issue, and > I see some 1.9.3 builds working without that, such as > https://travis-ci.org/voxpupuli/puppet-confluence/builds/106194437 > > > Rob Nelson > [email protected] <javascript:> > > On Mon, Feb 1, 2016 at 12:38 PM, Corey Osman <[email protected] > <javascript:>> wrote: > >> FYI >> >> There is an issue with travis and bundler on ruby version 1.9.3. So if >> your build matrix uses this ruby you may be seeing this error: >> NoMethodError: >> undefined method `spec' for nil:NilClass >> >> To fix you just need to update bundler like so in your travis file. >> >> >> before_install: >> # https://github.com/bundler/bundler/issues/3558 >> gem update bundler >> >> >> >> >> Corey >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-dev/7B821AF7-553B-4C6E-BB5D-4907CE171B77%40nwops.io >> >> <https://groups.google.com/d/msgid/puppet-dev/7B821AF7-553B-4C6E-BB5D-4907CE171B77%40nwops.io?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/fcd6ba9c-b2b9-4730-8c3a-4287d82e8c54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
