Sha256: 1597d0e3968777b4fa73efd52c0a34c7bdf29665a1bae556811cbed748730c3e

Contents?: true

Size: 527 Bytes

Versions: 5

Compression:

Stored size: 527 Bytes

Contents

if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm')
  begin
    rvm_path     = File.dirname(File.dirname(ENV['MY_RUBY_HOME']))
    rvm_lib_path = File.join(rvm_path, 'lib')
    $LOAD_PATH.unshift rvm_lib_path
    require 'rvm'
    RVM.use_from_path! File.dirname(File.dirname(__FILE__))
  rescue LoadError
    # RVM is unavailable at this point.
    raise "RVM ruby lib is currently unavailable."
  end
end

ENV['BUNDLE_GEMFILE'] = File.expand_path('../../../Gemfile', File.dirname(__FILE__))
require 'bundler/setup'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dossier-2.2.0 spec/dummy/config/setup_load_paths.rb
dossier-2.1.1 spec/dummy/config/setup_load_paths.rb
dossier-2.1.0 spec/dummy/config/setup_load_paths.rb
dossier-2.0.1 spec/dummy/config/setup_load_paths.rb
dossier-2.0.0 spec/dummy/config/setup_load_paths.rb