Top Level Namespace

Constant Summary collapse

RVM_BIN_PATH =
'/usr/local/rvm/bin/rvm'

Instance Method Summary collapse

Instance Method Details

#_cset(name, *args, &block) ⇒ Object



3
4
5
6
7
# File 'lib/saucier/helpers.rb', line 3

def _cset(name, *args, &block)
  unless exists?(name)
    set(name, *args, &block)
  end
end

#rvm_wrapper(command) ⇒ Object



9
10
11
# File 'lib/saucier/helpers.rb', line 9

def rvm_wrapper(command)
  "#{RVM_BIN_PATH} #{chef_ruby}@#{chef_gemset} --create do #{command}"
end