Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

chef gem install <gemname> --version displays chefDK version #46

Closed
djdefi opened this issue May 12, 2014 · 5 comments
Closed

chef gem install <gemname> --version displays chefDK version #46

djdefi opened this issue May 12, 2014 · 5 comments
Labels
Type: Bug Doesn't work as expected.

Comments

@djdefi
Copy link

djdefi commented May 12, 2014

When attempting to install a specific version of a gem into the embedded ruby, the chef version number is displayed rather than passing the --version flag on to the gem command. Also occurs when using the short form "-v" flag

$ chef gem install rbvmomi --version 1.6.0
Chef Development Kit Version: 0.1.0
@armiller
Copy link

👍

@djdefi
Copy link
Author

djdefi commented May 15, 2014

Here is a workaround for OSX:
/opt/chefdk/embedded/bin/gem install rbvmomi --version 1.6.0

This installed the gem into the embedded chefdk ruby environment.

@danielsdeleo
Copy link
Contributor

This is fixed by #55 and will be shipped in the next release.

@sethvargo
Copy link

@danielsdeleo did you want to close this since it's fixed in master?

@danielsdeleo
Copy link
Contributor

@sethvargo oops, yeah.

@thommay thommay added Type: Bug Doesn't work as expected. and removed Bug labels Feb 1, 2017
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Doesn't work as expected.
Development

No branches or pull requests

5 participants