lib/language_pack/ruby.rb
def slug_vendor_base
    instrument 'ruby.slug_vendor_base' do
      if @slug_vendor_base
        @slug_vendor_base
      elsif ruby_version.ruby_version == "1.8.7"
        @slug_vendor_base = "vendor/bundle/1.8"
      else
        @slug_vendor_base = run_no_pipe(%q(ruby -e "require 'rbconfig';puts \"vendor/bundle/#{RUBY_ENGINE}/#{RbConfig::CONFIG['ruby_version']}\"")).chomp
        error "Problem detecting bundler vendor directory: #{@slug_vendor_base}" unless $?.success?
        @slug_vendor_base
      end
    end
  end
# the relative path to the bundler directory of gems
# @return [String] resulting path
the relative path to the bundler directory of gems
the relative path to the bundler directory of gems
def slug_vendor_base
    instrument 'ruby.slug_vendor_base' do
      if @slug_vendor_base
        @slug_vendor_base
      elsif ruby_version.ruby_version == "1.8.7"
        @slug_vendor_base = "vendor/bundle/1.8"
      else
        @slug_vendor_base = run_no_pipe(%q(ruby -e "require 'rbconfig';puts \"vendor/bundle/#{RUBY_ENGINE}/#{RbConfig::CONFIG['ruby_version']}\"")).chomp
        error "Problem detecting bundler vendor directory: #{@slug_vendor_base}" unless $?.success?
        @slug_vendor_base
      end
    end
  end
def slug_vendor_base instrument 'ruby.slug_vendor_base' do if @slug_vendor_base @slug_vendor_base elsif ruby_version . ruby_version == "1.8.7" @slug_vendor_base = "vendor/bundle/1.8" else @slug_vendor_base = run_no_pipe ( %q(ruby -e "require 'rbconfig';puts \"vendor/bundle/#{RUBY_ENGINE}/#{RbConfig::CONFIG['ruby_version']}\"") ) . chomp error "Problem detecting bundler vendor directory: #{@slug_vendor_base}" unless $? . success? @slug_vendor_base end end end
the relative path to the bundler directory of gems
the relative path to the bundler directory of gems
None
String