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

Github::API::Config::PropertySet::Set (NameError) #268

Open
sergiotapia opened this issue Jul 30, 2014 · 2 comments
Open

Github::API::Config::PropertySet::Set (NameError) #268

sergiotapia opened this issue Jul 30, 2014 · 2 comments
Labels

Comments

@sergiotapia
Copy link

Hi guys, I'm new to jeweler and I'm trying to use it to create a new gem following this tutorial: http://www.cerebris.com/blog/2011/03/15/creating-and-managing-private-rubygems-with-jeweler-github-and-bundler/


gem install github_api
gem install jeweler

And I get this when running jeweler:

sergiotapia@iMacs-iMac Work $ jeweler
/Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/github_api-0.12.0/lib/github_api/api/config/property_set.rb:22:in `initialize': uninitialized constant Github::API::Config::PropertySet::Set (NameError)
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/github_api-0.12.0/lib/github_api/api/config.rb:57:in `new'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/github_api-0.12.0/lib/github_api/api/config.rb:57:in `<class:Config>'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/github_api-0.12.0/lib/github_api/api/config.rb:10:in `<class:API>'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/github_api-0.12.0/lib/github_api/api/config.rb:8:in `<module:Github>'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/github_api-0.12.0/lib/github_api/api/config.rb:6:in `<top (required)>'
    from /Users/sergiotapia/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/sergiotapia/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/github_api-0.12.0/lib/github_api/configuration.rb:3:in `<top (required)>'
    from /Users/sergiotapia/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/sergiotapia/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/github_api-0.12.0/lib/github_api.rb:4:in `<top (required)>'
    from /Users/sergiotapia/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/sergiotapia/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/jeweler-2.0.1/lib/jeweler/generator.rb:2:in `<top (required)>'
    from /Users/sergiotapia/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/sergiotapia/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/gems/jeweler-2.0.1/bin/jeweler:7:in `<top (required)>'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/bin/jeweler:23:in `load'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/bin/jeweler:23:in `<main>'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
    from /Users/sergiotapia/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'

Any ideas?

@andoriyu
Copy link

andoriyu commented Aug 1, 2014

As a work around - gem install github_api -v=0.11.3

@joventuraz
Copy link

Getting same error...

If you already have a version of github_api installed and want to use the one mentioned above, remember to uninstall the previous one.

It worked after I did that.

colindean added a commit to colindean/jeweler that referenced this issue Aug 5, 2014
version 0.12.0 changed the API enough that it breaks jeweler.

`~> 0.11.0` should match the last working version, 0.11.3, until jeweler can be updated to use the new API.

Fixes technicalpickles#268
colindean added a commit to colindean/jeweler that referenced this issue Aug 5, 2014
~> 0.11.0 should match the last working version, 0.11.3, until jeweler can be updated to use the new API.

Fixes technicalpickles#268
colindean added a commit to colindean/jeweler that referenced this issue Aug 5, 2014
version 0.12.0 changed the API enough that it breaks jeweler.

~> 0.11.0 should match the last working version, 0.11.3, until jeweler can be updated to use the new API.

Fixes technicalpickles#268
@flajann2 flajann2 added the bug label Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants