Issue #11786 has been updated by Stefan Schulte.

After reading the commit log the change happened from RDoc 2.4.3 to RDoc 3.0. 
So it might be easier (and safer) to check against `RDoc::Version` instead of 
`RUBY_VERSION`
----------------------------------------
Bug #11786: Puppet Specs incompatibility with Ruby 1.9.3 -- missing Rdoc
https://projects.puppetlabs.com/issues/11786

Author: Justin Stoller
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Daniel Pittman
Category: ruby19
Target version: 
Affected Puppet version: development
Keywords: ruby1.9.3
Branch: https://github.com/puppetlabs/puppet/pull/377


Doing preliminary Ruby 1.9.3 testing on CI we encountered this error:

<pre>
/home/jenkins/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
 `require': cannot load such file -- rdoc/tokenstream (LoadError)
        from 
/home/jenkins/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
 `require'
        from /home/jenkins/workspace/Puppet Specs 
(master)/gemset/@noFeatures/ruby/ruby-1.9.3/rvm/ubuntu-10.04/lib/puppet/util/rdoc/parser.rb:9:in
 `<top (required)>'
        from 
/home/jenkins/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
 `require'
        from 
/home/jenkins/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
 `require'
        from /home/jenkins/workspace/Puppet Specs 
(master)/gemset/@noFeatures/ruby/ruby-1.9.3/rvm/ubuntu-10.04/spec/integration/util/rdoc/parser_spec.rb:5:in
 `<top (required)>'
        from 
/home/jenkins/.rvm/gems/ruby-1.9.3-p0@noFeatures/gems/rspec-core-2.3.1/lib/rspec/core/configuration.rb:388:in
 `load'
        from 
/home/jenkins/.rvm/gems/ruby-1.9.3-p0@noFeatures/gems/rspec-core-2.3.1/lib/rspec/core/configuration.rb:388:in
 `block in load_spec_files'
        from 
/home/jenkins/.rvm/gems/ruby-1.9.3-p0@noFeatures/gems/rspec-core-2.3.1/lib/rspec/core/configuration.rb:388:in
 `map'
        from 
/home/jenkins/.rvm/gems/ruby-1.9.3-p0@noFeatures/gems/rspec-core-2.3.1/lib/rspec/core/configuration.rb:388:in
 `load_spec_files'
        from 
/home/jenkins/.rvm/gems/ruby-1.9.3-p0@noFeatures/gems/rspec-core-2.3.1/lib/rspec/core/command_line.rb:18:in
 `run'
        from 
/home/jenkins/.rvm/gems/ruby-1.9.3-p0@noFeatures/gems/rspec-core-2.3.1/lib/rspec/core/runner.rb:55:in
 `run_in_process'
        from 
/home/jenkins/.rvm/gems/ruby-1.9.3-p0@noFeatures/gems/rspec-core-2.3.1/lib/rspec/core/runner.rb:46:in
 `run'
        from 
/home/jenkins/.rvm/gems/ruby-1.9.3-p0@noFeatures/gems/rspec-core-2.3.1/lib/rspec/core/runner.rb:10:in
 `block in autorun'
Build step 'Execute shell' marked build as failure
</pre>

Josh Cooper suggested on the mailing list that in 1.9.3 Rdoc has moved 
tokenstream
(his link noting the change: 
https://github.com/rdoc/rdoc/blob/master/History.rdoc)

We've finished updating our system to support 1.9.3, but backed out testing of 
it until the Open Source teams have prioritized it. 



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to