diff options
-rw-r--r-- | lazar.gemspec | 1 | ||||
-rw-r--r-- | lib/lazar.rb | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lazar.gemspec b/lazar.gemspec index a4929fa..15a4fef 100644 --- a/lazar.gemspec +++ b/lazar.gemspec @@ -21,7 +21,6 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'rest-client' s.add_runtime_dependency 'addressable' s.add_runtime_dependency 'nokogiri' - s.add_runtime_dependency 'rserve-client' s.add_runtime_dependency 'mongoid' s.add_runtime_dependency 'openbabel' end diff --git a/lib/lazar.rb b/lib/lazar.rb index 1fbd75a..5bcfadf 100644 --- a/lib/lazar.rb +++ b/lib/lazar.rb @@ -49,7 +49,7 @@ end # should work on POSIX including os x # http://stackoverflow.com/questions/19619582/number-of-processors-cores-in-command-line NR_CORES = `getconf _NPROCESSORS_ONLN`.to_i -R = Rserve::run.Rserve(remote=TRUE) +R = Rserve::Connection.new =begin R.eval " suppressPackageStartupMessages({ |