summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2017-11-14 17:50:04 +0100
committergebele <gebele@in-silico.ch>2017-11-14 17:50:04 +0100
commitdbe6885db84907b5b6e45d05cb079fca3bdd2744 (patch)
tree37ef19d778e674f64b1f0d5416a45ce52750f802
parent571f8de14080af5e6cdfa05124b3dc01f608c011 (diff)
remove central mongo and ext
-rw-r--r--lazar.gemspec1
-rw-r--r--lib/lazar.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/lazar.gemspec b/lazar.gemspec
index 3c704c8..a4929fa 100644
--- a/lazar.gemspec
+++ b/lazar.gemspec
@@ -14,7 +14,6 @@ Gem::Specification.new do |s|
s.rubyforge_project = "lazar"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.extensions = %w[ext/lazar/extconf.rb]
s.require_paths = ["lib"]
# specify any dependencies here; for example:
diff --git a/lib/lazar.rb b/lib/lazar.rb
index 1b10bf9..5bcfadf 100644
--- a/lib/lazar.rb
+++ b/lib/lazar.rb
@@ -19,7 +19,7 @@ ENV["MONGOID_ENV"] = ENV["LAZAR_ENV"]
ENV["RACK_ENV"] = ENV["LAZAR_ENV"] # should set sinatra environment
# search for a central mongo database in use
# http://opentox.github.io/installation/2017/03/07/use-central-mongodb-in-docker-environment
-CENTRAL_MONGO_IP = `grep -oP '^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(?=.*mongodb)' /etc/hosts`.chomp
+CENTRAL_MONGO_IP = ''#`grep -oP '^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(?=.*mongodb)' /etc/hosts`.chomp
Mongoid.load_configuration({
:clients => {
:default => {