diff options
author | Christoph Helma <helma@in-silico.de> | 2010-01-22 13:15:27 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2010-01-22 13:15:27 +0100 |
commit | cd77b6880a7b0d34536e645dd057ceff40705456 (patch) | |
tree | f7fb26a77433f87e989d17e9d1f2ed251ef77eb4 /application.rb | |
parent | 180a017b54bb7858cccb6235e2966162612e7085 (diff) |
central config.ru, logger instead of puts
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/application.rb b/application.rb index c8210af..f51ad25 100644 --- a/application.rb +++ b/application.rb @@ -1,17 +1,14 @@ require 'rubygems' require 'libfminer/fminer' # has to be included before openbabel, otherwise we have strange SWIG overloading problems -gem 'opentox-ruby-api-wrapper', '~>1.2' +gem 'opentox-ruby-api-wrapper', '= 1.2.5' require 'opentox-ruby-api-wrapper' -require 'logger' #require 'smarts.rb' #require 'similarity.rb' require 'fminer.rb' require 'lazar.rb' -set :lock, true -#set :default_content, :owl -LOGGER = Logger.new(STDERR) +#set :lock, true get '/?' do [ url_for('/lazar', :full), url_for('/fminer', :full) ].join("\n") |