Sha256: 8e9b3acd28d264404af8ce638a53a008544238f8a7ad3b6fab51cc3dd093edba

Contents?: true

Size: 273 Bytes

Versions: 9

Compression:

Stored size: 273 Bytes

Contents

module Scout
  class Environment
    def self.bundler?
      ENV['BUNDLE_BIN_PATH'] && ENV['BUNDLE_GEMFILE']
    end

    def self.rvm?
      ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm')
    end

    def self.rvm_path
      `rvm env --path`
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
scout-5.7.2 lib/scout/environment.rb
scout-5.7.2.pre.2 lib/scout/environment.rb
scout-5.7.2.pre lib/scout/environment.rb
scout-5.7.1 lib/scout/environment.rb
scout-5.7.0 lib/scout/environment.rb
scout-5.7.0.pre lib/scout/environment.rb
scout-5.6.11 lib/scout/environment.rb
scout-5.6.10 lib/scout/environment.rb
scout-5.6.9 lib/scout/environment.rb