uninitialized constant Yardstick::Document::Set #19

Closed
trans opened this Issue Jan 15, 2014 · 4 comments

Comments

Projects
None yet
3 participants
@trans
Contributor

trans commented Jan 15, 2014

On ruby 2.0.0p247 and the latest yardstick (0.9.7) I am getting:

$  yardstick 'lib/**/*.rb'
/home/trans/.gem/ruby/2.0.0/gems/yardstick-0.9.7/lib/yardstick/document.rb:7:in `<class:Document>': uninitialized constant Yardstick::Document::Set (NameError)
    from /home/trans/.gem/ruby/2.0.0/gems/yardstick-0.9.7/lib/yardstick/document.rb:6:in `<module:Yardstick>'
    from /home/trans/.gem/ruby/2.0.0/gems/yardstick-0.9.7/lib/yardstick/document.rb:3:in `<top (required)>'
    from /home/trans/.rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /home/trans/.rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /home/trans/.gem/ruby/2.0.0/gems/backports-3.4.0/lib/backports/tools.rb:328:in `require_with_backports'
    from /home/trans/.gem/ruby/2.0.0/gems/yardstick-0.9.7/lib/yardstick.rb:14:in `<top (required)>'
    from /home/trans/.rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /home/trans/.rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /home/trans/.gem/ruby/2.0.0/gems/yardstick-0.9.7/bin/yardstick:6:in `<top (required)>'
    from /home/trans/.gem/ruby/2.0.0/bin/yardstick:23:in `load'
    from /home/trans/.gem/ruby/2.0.0/bin/yardstick:23:in `<main>'
@jm

This comment has been minimized.

Show comment
Hide comment
@jm

jm Jan 15, 2014

Same here. I tried switching versions of Ruby from 2.1, 2.0, and 1.8.7 and all have the same error it seems.

jm commented Jan 15, 2014

Same here. I tried switching versions of Ruby from 2.1, 2.0, and 1.8.7 and all have the same error it seems.

@mbj mbj closed this in 1601375 Jan 15, 2014

@mbj

This comment has been minimized.

Show comment
Hide comment
@mbj

mbj Jan 15, 2014

Collaborator

@jm, @trans Can you test if it works for you on master? I'll release an updated version if so.

Collaborator

mbj commented Jan 15, 2014

@jm, @trans Can you test if it works for you on master? I'll release an updated version if so.

@jm

This comment has been minimized.

Show comment
Hide comment
@jm

jm Jan 15, 2014

👍 Works great! After I got that set and a few other tweaks, this is giving me exactly what I need. 😄

jm commented Jan 15, 2014

👍 Works great! After I got that set and a few other tweaks, this is giving me exactly what I need. 😄

@mbj

This comment has been minimized.

Show comment
Hide comment
@mbj

mbj Jan 15, 2014

Collaborator

@jm Just released as 0.9.8.

Collaborator

mbj commented Jan 15, 2014

@jm Just released as 0.9.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment