Skip to content
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

execute[update-alternatives-ruby] on AWS Ami Linux default #111

Open
edgarcolque opened this issue Dec 29, 2015 · 0 comments
Open

execute[update-alternatives-ruby] on AWS Ami Linux default #111

edgarcolque opened this issue Dec 29, 2015 · 0 comments

Comments

@edgarcolque
Copy link

STDERR: the primary link for ruby must be /usr/bin/ruby
aws_instance.gitlab (chef): ---- End output of update-alternatives --install /usr/local/bin/ruby ruby /srv/git/bin/ruby 10 ----
aws_instance.gitlab (chef): Ran update-alternatives --install /usr/local/bin/ruby ruby /srv/git/bin/ruby 10 returned 2
aws_instance.gitlab (chef): Resource Declaration:
aws_instance.gitlab (chef): ---------------------
aws_instance.gitlab (chef): # In /var/chef/cache/cookbooks/gitlab/recipes/default.rb
aws_instance.gitlab (chef):
aws_instance.gitlab (chef): 107: execute 'update-alternatives-ruby' do
aws_instance.gitlab (chef): 108: command "update-alternatives --install /usr/local/bin/ruby ruby #{node['gitlab']['install_ruby_path']}/bin/ruby 10"
aws_instance.gitlab (chef): 109: not_if { ::File.exist?('/usr/local/bin/ruby') }
aws_instance.gitlab (chef): 110: end
aws_instance.gitlab (chef): 111:
aws_instance.gitlab (chef):
aws_instance.gitlab (chef): Compiled Resource:
aws_instance.gitlab (chef): ------------------
aws_instance.gitlab (chef): # Declared in /var/chef/cache/cookbooks/gitlab/recipes/default.rb:107:in `from_file'
aws_instance.gitlab (chef):
aws_instance.gitlab (chef): execute("update-alternatives-ruby") do
aws_instance.gitlab (chef): action [:run]
aws_instance.gitlab (chef): retries 0
aws_instance.gitlab (chef): retry_delay 2
aws_instance.gitlab (chef): default_guard_interpreter :execute
aws_instance.gitlab (chef): command "update-alternatives --install /usr/local/bin/ruby ruby /srv/git/bin/ruby 10"
aws_instance.gitlab (chef): backup 5
aws_instance.gitlab (chef): returns 0
aws_instance.gitlab (chef): declared_type :execute
aws_instance.gitlab (chef): cookbook_name "gitlab"
aws_instance.gitlab (chef): recipe_name "default"
aws_instance.gitlab (chef): not_if { #code block }
aws_instance.gitlab (chef): end
aws_instance.gitlab (chef):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant