libraries/chef_rvm_passenger_recipe_helpers.rb
def determine_rvm_ruby_if_not_given
        if node['rvm_passenger']['rvm_ruby'].nil?
          rvm_ruby = node['rvm']['default_ruby']
          rvm_ruby += "@passenger" unless rvm_ruby == "system"

          node.set['rvm_passenger']['rvm_ruby'] = rvm_ruby
          Chef::Log.debug(%{Setting node['rvm_passenger']['rvm_ruby'] = } +
            %{"#{node['rvm_passenger']['rvm_ruby']}"})
        end
      end
##
# Sets the rvm_ruby attribute to rvm/default ruby, unless set
Sets the rvm_ruby attribute to rvm/default ruby, unless set
Sets the rvm_ruby attribute to rvm / default ruby unless set
def determine_rvm_ruby_if_not_given
        if node['rvm_passenger']['rvm_ruby'].nil?
          rvm_ruby = node['rvm']['default_ruby']
          rvm_ruby += "@passenger" unless rvm_ruby == "system"
          node.set['rvm_passenger']['rvm_ruby'] = rvm_ruby
          Chef::Log.debug(%{Setting node['rvm_passenger']['rvm_ruby'] = } +
            %{"#{node['rvm_passenger']['rvm_ruby']}"})
        end
      end
def determine_rvm_ruby_if_not_given if node [ 'rvm_passenger' ] [ 'rvm_ruby' ] . nil? rvm_ruby = node [ 'rvm' ] [ 'default_ruby' ] rvm_ruby += "@passenger" unless rvm_ruby == "system" node . set [ 'rvm_passenger' ] [ 'rvm_ruby' ] = rvm_ruby Chef :: Log . debug ( %{Setting node['rvm_passenger']['rvm_ruby'] = } + %{"#{node['rvm_passenger']['rvm_ruby']}"} ) end end
Sets the rvm_ruby attribute to rvm/default ruby, unless set
Sets the rvm_ruby attribute to rvm / default ruby unless set