Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: uninitialized constant StateMachine::YARD::Handlers::Machine::Integrations #6

Open
bacrossland opened this issue Mar 9, 2017 · 0 comments

Comments

@bacrossland
Copy link

When running yardoc on a Rails app that uses this gem, I get the following error:

[error]: NameError: uninitialized constant StateMachine::YARD::Handlers::Machine::Integrations
[error]: Stack trace:
	/Users/bcrossland/.rvm/gems/jruby-1.7.25@fp2/gems/state_machines-yard-0.0.1/lib/state_machines/yard/handlers/machine.rb:120:in `integration'
	/Users/bcrossland/.rvm/gems/jruby-1.7.25@fp2/gems/state_machines-yard-0.0.1/lib/state_machines/yard/handlers/machine.rb:158:in `define_macro_methods'
	/Users/bcrossland/.rvm/gems/jruby-1.7.25@fp2/gems/state_machines-yard-0.0.1/lib/state_machines/yard/handlers/machine.rb:41:in `process'
	/Users/bcrossland/.rvm/gems/jruby-1.7.25@fp2/gems/yard-0.9.8/lib/yard/handlers/processor.rb:114:in `process'
	/Users/bcrossland/.rvm/gems/jruby-1.7.25@fp2/gems/yard-0.9.8/lib/yard/handlers/processor.rb:112:in `each'
	/Users/bcrossland/.rvm/gems/jruby-1.7.25@fp2/gems/yard-0.9.8/lib/yard/handlers/processor.rb:112:in `process'

Looking at #1 I can see that fixes were merged in, however, the gem version was never updated and never released.

Installing the gem using the following in a Gemfile fetches the outdated version with the bad namespacing.

gem 'state_machines-yard'

Specifying the GitHub repo in my Gemfile got around the issue but it's not ideal.

gem 'state_machines-yard', :github => 'state-machines/state_machines-yard'

The gem version needs to be updated and released to rubygems.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant