-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
Chef::Provider::Package::RVMRubygems::AlternateGemEnvironment #50
Comments
It looks like To make this clear in the meantime, I'll add this gotcha to the README. Any idea if RightScale has plans to upgrade their Chef gem version? I'd guess a lot of cookbook code would be breaking for their customers. |
Looking into it more, I don't think I'd be able to support the 0.8 release line and 0.9+ line in a sustainable way. Certainly if anyone has ideas or pull requests I'm more than happy to engage. I'd rather not limit anyone's ability to use this project and I know you're most likely constrained in your Chef version but it looks like Opscode even considers this version really old:
(Source: Opscode Wiki: Troubleshooting and Techical FAQ) If I'm off the mark, please re-open! |
They do have Chef 9 now so I just need to move to those images. Great to know this will should work in 9. Your recipe is quite nice. On Nov 26, 2011, at 10:31 AM, "Fletcher Nichol" reply@reply.github.com wrote:
|
Hmm.... it looks that with chef 9 there are similar problems with the attribute definition. Do I have to assign the attributes differently in chef .9 than as it is done in chef .10? Here is what I do: node['rvm']['global_gems'] = [ Here is what the chef converge output is in RS: 00:45:04: Setting the run_list to ["rs_utils::default", "rs_utils::setup_timezone", "rs_utils::setup_server_tags", "rs_utils::setup_hostname", "rs_utils::setup_mail", "rs_utils::setup_ssh", "rs_utils::setup_logging", "rs_utils::setup_monitoring", "rvm::rpx_app_rvm"] from JSON undefined method `[]=' for nil:NilClass The error occurred line 4 of [COOKBOOKS]//cba6517ca09f7e2acb30dbb9524f3684485ab58e/cookbooks/rvm/attributes/rpx_app_rvm.rb in method 'from_file' while executing: 2 # attribute: rpx_app_rvm
*ERROR> Chef process failure On Nov 26, 2011, at 11:01 AM, Fletcher Nichol wrote: Looking into it more, I don't think I'd be able to support the 0.8 release line and 0.9+ line in a sustainable way. Certainly if anyone has ideas or pull requests I'm more than happy to engage. I'd rather not limit anyone's ability to use this project and I know you're most likely constrained in your Chef version but it looks like Opscode even considers this version really old: Open Source Chef users should upgrade their chef-server(s) and chef-clients to the newest version that provides the functionality and bug fixes they require. Another driver for upgrades would be availability of support resources from Opscode and the community. Release Notes has a listing of all of the current supportable versions of Chef. Versions older than 0.9.0 should be considered obsolete at this point. (Source: Opscode Wiki: Troubleshooting and Techical FAQ) If I'm off the mark, please re-open! Reply to this email directly or view it on GitHub: |
I just realized that you also said .9 was out... misread your email. Dang. On Nov 26, 2011, at 11:01 AM, Fletcher Nichol wrote:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am attempting to use this recipe in rightscale which uses chef 0.8.16.8. I am getting this error at convergence:
*ERROR> An error occurred during the execution of Chef. The error message was:
uninitialized constant Chef::Provider::Package::RVMRubygems::AlternateGemEnvironment
Looks like libraries/rvm_rubygems_package.rb is having issues, possibly with such an old version of chef?
The text was updated successfully, but these errors were encountered: