Skip to content
This repository

Fixes check for user rvm #64

Merged
merged 1 commit into from over 2 years ago

2 participants

Bob Corsaro Fletcher Nichol
Bob Corsaro

It was getting installed on each chef-client run on my system.

Fletcher Nichol fnichol merged commit 374dfe2 into from
Fletcher Nichol
Owner

Sweet, thanks! Just out of curiosity, what platform was this happening on?

Bob Corsaro

Sorry it was Ubuntu on Rackspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jan 19, 2012
Bob Corsaro dokipen Fix user rvm b38afa4
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  libraries/chef_rvm_recipe_helpers.rb
2  libraries/chef_rvm_recipe_helpers.rb
@@ -82,7 +82,7 @@ def install_rvm(opts = {})
82 82 end
83 83
84 84 not_if rvm_wrap_cmd(
85   - %{type rvm | head -1 | grep -q '^rvm is a function$'}, user_dir)
  85 + %{type rvm | cat | head -1 | grep -q '^rvm is a function$'}, user_dir)
86 86 end
87 87 i.run_action(:run) if install_now
88 88 end

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.