Sha256: 7c01967a43ff0a22228d2f28099ff66daec1afaebaf944874295278e64fbf002

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

# coding: utf-8
module Splash
  module Dependencies


    # Internal Ruby
    require 'open3'
    require 'date'
    require 'socket'
    require 'yaml'
    require 'thread'
    require 'fileutils'
    require 'etc'
    require 'forwardable'



    # Rubygems
    begin
      require 'prometheus/client'
      require 'prometheus/client/push'
      require 'thor'
      require 'bunny'
      require 'rufus-scheduler'
      require 'tty-markdown'
      require 'tty-pager'
      require 'colorize'
      require "redis"
      require 'ps-ruby'

    rescue Gem::GemNotFoundException
      $stderr.puts "Loadind error, it's like you try to run Splash, with a lake of dependencies."
      $stderr.puts "If you run on RVM, please run with rvmsudo and not with sudo."
      $stderr.puts "If problem is percistant, please, proceed to new install and Setup."
    end


    # Splash
    require 'splash/constants'
    require 'splash/helpers'
    require 'splash/config'
    require 'splash/loggers'
    require 'splash/exiter'
    require 'splash/templates'
    require 'splash/backends'
    require 'splash/transports'


    require 'splash/commands'
    require 'splash/logs'
    require 'splash/processes'
    
    require 'splash/daemon'


  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prometheus-splash-0.5.3 lib/splash/dependencies.rb