lib/splash/dependencies.rb in prometheus-splash-0.5.3 vs lib/splash/dependencies.rb in prometheus-splash-0.6.0
- old
+ new
@@ -10,10 +10,11 @@
require 'yaml'
require 'thread'
require 'fileutils'
require 'etc'
require 'forwardable'
+ require 'json'
# Rubygems
begin
@@ -25,11 +26,18 @@
require 'tty-markdown'
require 'tty-pager'
require 'colorize'
require "redis"
require 'ps-ruby'
+ require 'sinatra/base'
+ require 'thin'
+ require 'slim'
+ require 'rest-client'
+ require 'kramdown'
+ require 'rack/reverse_proxy'
+
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
@@ -47,11 +55,12 @@
require 'splash/commands'
require 'splash/logs'
require 'splash/processes'
-
+
require 'splash/daemon'
+ require 'splash/webadmin'
end
end