-
Notifications
You must be signed in to change notification settings - Fork 8
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
ohai less than 8 for 1.9.3 #2
Conversation
2 similar comments
@@ -20,6 +20,6 @@ | |||
class Chef | |||
class EncryptedAttribute | |||
# `chef-encrypted-attributes` gem version. | |||
VERSION = '0.5.0.dev' | |||
VERSION = '0.5.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, don't change the gem version in this PR.
I will try to investigate this. But keep in mind that Ruby Do you find it difficult to update your Ruby versions? |
I fixed this in master. But keep in mind that this kind of fixes are temporal. |
thanks for the quick turnaround @zuazo! yeah, we know 1.9.3 isnt supported anymore and are looking into upgrading, but i'm not sure what the timeframe will be for us to move off 1.9.3 :( based on how quickly we moved off 1.9.2, i'm not optimistic. any idea when a version of this will get cut? |
I'm planing to release this tomorrow if everything works as expected. I want to test it a bit just in case. Thanks for the report anyway 😉 |
Fix released in 0.5.0. |
hi @zuazo, i just got back from vacation so finally am back to getting this to work for me! i'm seeing some odd behavior however. i'm unable to install the 0.5.0 gem available on rubygems.org, still running into the same error documented above (dependency of ohai > 8 requiring ruby 2.0 or higher). however, when i build the tagged 0.5.0 version of this gem locally and upload it to our internal gemserver and attempt to install the gem from our server... it installs fine. any chance something is messed up with the 0.5.0 gem version that was pushed to rubygems? pulling the 0.5.0 version from github and building seems to work just fine for me. |
OK, that problem was because the gemspec is not evaluated in the installation process. I tried to fix this using a hack. But I have not been able to verify that it works 😖 Maybe I should release a beta. |
@zuazo thanks for the fix. i'm not sure how to help test it out for you though as when i build the gem locally, it installs fine for me =/ let me know if you do decide to beta it, i can try to install it then. |
Sorry for the delay. I released this in node.default['encrypted_attributes']['version'] = '0.6.0.beta.1'
include_recipe 'encrypted_attributes' |
hrm... locally i'm running into an issue:
|
@chhsiung, thanks for testing the beta. I released |
The second fix released in |
I released gem version |
for whatever reasons, when i use the encrypted-attributes cookbook, it's bombing on chef_gem chef-encrypted-attributes... here's output when i attempt to manually install (i think/hope this is equivalent to chef gem install; please tell me if i'm wrong)
i think it's because im stuck using older chef (11.12) and ruby (1.9.3) so the version of ohai available is 7.0.2 and i can't install 8.
let me know if there's a better way around this.