-
Notifications
You must be signed in to change notification settings - Fork 23
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
Won't work, any ideas? #7
Comments
Sorry about that. I just tried a fresh checkout on my system and it worked so I'm guessing its an env difference between the two of us. I'll keep trying to reproduce on my end. Can you tell me your: Host
From Vagrant using vagrant ssh
Is this a green or existing application? |
Hi Dan, Thanks for looking into this. -----------------------Some details for my machine: -------------------Vagrant box: ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux] On Thu, Jan 10, 2013 at 7:43 PM, Dan Thiffault [email protected]:
|
Well its definitely not using the rbenv like its supposed to. On the vagrant box do you have a file /tmp/ruby-build.[d+].log? If so can you attach it? Otherwise can you attach /tmp/vagrant-chef-1/dna.json? If you see any other interesting *log files under /tmp/vagrant-chef feel free to share as well. |
Use a newer version of the ruby_build cookbook |
As of #8 you can now change the ruby version as a config attribute. Hopefully that helps. If you're still stuck let me know where you are currently. |
@joegoggins just realized you are having the same problem with awesome app. Give the ruby version thing a try and let me know. Sorry for the cross-posting. |
I had this same issue, ended up fixing it by using the latest version of all git'd cookbooks in the Cheffile. Thanks for the great tool! |
@JustinAiken would you mind sharing the versions you're currently using? If we can get a snapshot that works for everyone I'll update the repository. Glad the tool is working out for you. |
It was just the latest of all of them: |
Hi there Dan,
Thanks for putting this repo together, I followed the instructions exactly and got this:
[2013-01-10T22:28:13+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: bash[Initialize rbenv (system)](rbenv::system_install line 80) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127'
---- Begin output of "bash" "/tmp/chef-script20130110-1203-1gm7o6d-0" ----
STDOUT: export PATH="/usr/local/rbenv/shims:${PATH}"
source "/usr/local/rbenv/libexec/../completions/rbenv.bash"
rbenv rehash 2>/dev/null
STDERR: /usr/local/rbenv/libexec/rbenv-init: line 88: rbenv-commands: command not found
---- End output of "bash" "/tmp/chef-script20130110-1203-1gm7o6d-0" ----
Ran "bash" "/tmp/chef-script20130110-1203-1gm7o6d-0" returned 127
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
If you have any ideas about why this might happen--I'd love to hear them.
Thanks,
-joe
The text was updated successfully, but these errors were encountered: