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

Install problem with latest chefdk ruby version and rack dependency #90

Open
ghost opened this issue Sep 20, 2016 · 2 comments
Open

Install problem with latest chefdk ruby version and rack dependency #90

ghost opened this issue Sep 20, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 20, 2016

Getting dependency issues with rack,
Fresh install of fedora 24, with chefdk 0.17.17

$> gem install chef-provisioning-vsphere
ERROR:  Error installing chef-provisioning-vsphere:
        rack requires Ruby version >= 2.2.2.
$> ruby --version
ruby 2.1.8p440 (2015-12-16 revision 53160) [x86_64-linux]
$> which ruby
/opt/chefdk/embedded/bin/ruby
$> rpm -qa | grep chefdk
chefdk-0.17.17-1.el7.x86_64
@mwrock
Copy link
Contributor

mwrock commented Sep 20, 2016

yes this is likely due to the fact that chef-provisioning-vsphere now depends chef-provisioning 2.0.1 which brings in the rack dependency. The chef gems are starting to remove gem constraints that prevent breaking ruby 2.1. A new chef-dk RC was just announced today that ships with ruby 2.3.1 see https://discourse.chef.io/t/pre-release-announcement-chef-dk-0-18-22/9461.

You might give that a try or add a constraint to a Gemfile that downgrades rack.

@ghost
Copy link
Author

ghost commented Sep 22, 2016

@mwrock Thanks for clearing this up, I will give the new chefdk a try

jjlimepoint pushed a commit to jjlimepoint/chef-provisioning-vsphere that referenced this issue Jul 13, 2018
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