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

undefined method `source_index' for Gem:Module #20

Open
cevaris opened this issue Sep 4, 2016 · 0 comments
Open

undefined method `source_index' for Gem:Module #20

cevaris opened this issue Sep 4, 2016 · 0 comments

Comments

@cevaris
Copy link

cevaris commented Sep 4, 2016

Getting an error when generating a new project

My rvm points to /opt/twitter/rvm/.

ruby (master) ~࿔ newgem codexrb
undefined method `source_index' for Gem:Module
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:284:in `generator_full_paths'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:272:in `each'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:171:in `to_a'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:171:in `block in cache'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:171:in `each'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:171:in `inject'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:171:in `cache'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:152:in `lookup'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/lookup.rb:165:in `instance'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/rubigen-1.5.8/lib/rubigen/scripts.rb:32:in `run'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/gems/newgem-1.5.3/bin/newgem:28:in `<top (required)>'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/bin/newgem:23:in `load'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/bin/newgem:23:in `<main>'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/bin/ruby_executable_hooks:15:in `eval'
  /opt/twitter/rvm/gems/ruby-2.0.0-p645/bin/ruby_executable_hooks:15:in `<main>'
ruby (master) ~࿔ ruby -v
ruby 2.0.0p645 (2015-04-13 revision 50299) [x86_64-darwin14.4.0]
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