travis issue affecting many repos using ruby 1.9.3

10 views
Skip to first unread message

Corey Osman

unread,
Feb 1, 2016, 12:38:34 PM2/1/16
to Puppet Dev
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:
  gem update bundler




Corey

Rob Nelson

unread,
Feb 1, 2016, 1:26:06 PM2/1/16
to puppe...@googlegroups.com
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

--
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 puppet-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/7B821AF7-553B-4C6E-BB5D-4907CE171B77%40nwops.io.
For more options, visit https://groups.google.com/d/optout.

Corey Osman

unread,
Feb 1, 2016, 1:38:09 PM2/1/16
to Puppet Developers
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.  

Reply all
Reply to author
Forward
0 new messages