You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
Traceback (most recent call last):
3: from /usr/bin/chef:261:in `<main>'
2: from /opt/chefdk/embedded/lib/ruby/2.5.0/rubygems/specification.rb:1055:in `find_by_name'
1: from /opt/chefdk/embedded/lib/ruby/2.5.0/rubygems/dependency.rb:322:in `to_spec'
/opt/chefdk/embedded/lib/ruby/2.5.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'chef-dk' (>= 0) among 37 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/travis/.rvm/gems/ruby-2.4.1:/home/travis/.rvm/gems/ruby-2.4.1@global', execute `gem env` for more information
0.06s$ chef --version
Traceback (most recent call last):
3: from /usr/bin/chef:261:in `<main>'
2: from /opt/chefdk/embedded/lib/ruby/2.5.0/rubygems/specification.rb:1055:in `find_by_name'
1: from /opt/chefdk/embedded/lib/ruby/2.5.0/rubygems/dependency.rb:322:in `to_spec'
/opt/chefdk/embedded/lib/ruby/2.5.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'chef-dk' (>= 0) among 37 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/travis/.rvm/gems/ruby-2.4.1:/home/travis/.rvm/gems/ruby-2.4.1@global', execute `gem env` for more information
NOTE: CHEFDK BUGS ONLY
This issue tracker is for the code contained within this repo -- chefdk.
As noted in the error message, you both installed ChefDK and have RVM active, so RVM is "winning" on Ruby paths. Disable RVM or otherwise point it at ChefDK's Ruby environment.
Description
The command
chef shell-init bash
fails in version 3.0 of chef-dkChefDK Version
3.0.29-1
Platform Version
Ubuntu trusty but others fail as well.
Replication Case
The following build fails with this version of chef-dk it works with version 2.5.8-1:
https://travis-ci.org/chef-cookbooks/mysql/jobs/378399410
Stacktrace
NOTE: CHEFDK BUGS ONLY
This issue tracker is for the code contained within this repo --
chefdk
.The text was updated successfully, but these errors were encountered: