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

update Gemfile from the template generator_files to use latest gem versions #883

Open
pkleanthous-zz opened this issue Apr 8, 2019 · 1 comment

Comments

@pkleanthous-zz
Copy link

Description

I'm getting warnings when running a kitchen command

Omnibus Version

omnibus --version
Omnibus v6.0.1

Platform Version

ProductName: Mac OS X
ProductVersion: 10.14.4

Replication Case

gem install omnibus
omnibus new demo-project --deb-assets
cd demo-project
bundle install --binstubs
kitchen list

Build Output

kitchen list
W, [2019-04-09T00:12:17.949254 #65853]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#frozen? defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2019-04-09T00:12:17.949311 #65853]  WARN -- : You are setting a key that conflicts with a built-in method VariaModel::Attributes#frozen? defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2019-04-09T00:12:17.949330 #65853]  WARN -- : You are setting a key that conflicts with a built-in method VariaModel::Attributes#frozen? defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2019-04-09T00:12:17.950884 #65853]  WARN -- : You are setting a key that conflicts with a built-in method VariaModel::Attributes#default defined in Hash. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2019-04-09T00:12:17.950911 #65853]  WARN -- : You are setting a key that conflicts with a built-in method VariaModel::Attributes#default defined in Hash. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.

@pkleanthous-zz
Copy link
Author

I have updated the Gemfile inside the project and warnings stopped.

source 'https://rubygems.org'

gem 'omnibus', '~> 6.0'

group :development do
  gem 'berkshelf', '~> 7.0'
  gem 'test-kitchen',    '~> 2.0'
  gem 'kitchen-vagrant', '~> 1.5'
end

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