-
Notifications
You must be signed in to change notification settings - Fork 779
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
Build fails on chef.sh for Ubuntu 14.04 with rake conflict #1033
Comments
please check older tickets, I thought I have seen this one already |
Hey, thanks for the quick reply. I did a search but could not find it. Sorry if it's a dupe. |
please try harder, it has to be somewhere |
As I said, I am sorry if this is a duplicate. I have actually solved my problem and I am reporting this for your benefit. Feel free to delete it if it is not helpful. Cheers |
Problem still exist. |
Unfortunatly i don't used ruby. But if we starting chef via gem i think it mean we have already ruby and rake as part of it, or no? Any way - why we trying to install chef via gem instead of adding "apt-get -y install chef-zero" to apt.sh? apt will solve all dependency, install ruby and all that chef need. ps: i tried @knservis solution - "yes | $GEM install chef --no-ri --no-rdoc" It's don't work. Im so sory for bad english. |
I ran into this issue and worked around it for Ubuntu 14.04.2: I am not sure if this approach would fix it for 14.04. |
The error is:
It looks like there is a dialog that asks the user whether to overwrite rake.
A quick fix with unknown repercussions would be:
yes | $GEM install chef --no-ri --no-rdoc
in the chef.sh
The real solution probably would be to somehow use rvm for ruby and gemset management.
The text was updated successfully, but these errors were encountered: