Skip to content

Getting warning: class variable access from toplevel with bundler #85

Description

@clowder

Pretty simply if I run bundle exec rake lint I get the output below, if I just do a rake lint then puppet-lint runs fine. Is there a config step I’m missing? Or a bug?

$ bundle exec rake lint --trace
~/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/puppet-2.6.12/lib/puppet/util/log/destinations.rb:99: warning: class variable access from toplevel
rake aborted!
~/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/puppet-2.6.12/lib/puppet/application/kick.rb:105: Invalid next
~/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/puppet-2.6.12/lib/puppet/application/kick.rb

Gemfile

source :rubygems

gem 'rake'
gem 'puppet', '2.6.12'
gem 'puppet-lint'

Rakefile

require 'puppet-lint/tasks/puppet-lint'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions