diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-04-03 16:54:30 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-04-03 16:54:30 +0200 |
commit | 4a702262fd96e65703075e7b6e6e7b1c876a51bb (patch) | |
tree | 21153e5148da1bb1cfcf708e94216004f4b875c6 /application.rb | |
parent | 9a228a9fcfd85f69f81dd0d70f3ed5829cb7aead (diff) |
Fixed documentation
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/application.rb b/application.rb index 539ac2b..ef123da 100644 --- a/application.rb +++ b/application.rb @@ -1,3 +1,4 @@ +# Java Klimbim ENV["JAVA_HOME"] = "/usr/lib/jvm/java-6-sun" unless ENV["JAVA_HOME"] ENV["JOELIB2"] = File.join File.expand_path(File.dirname(__FILE__)),"java" deps = [] @@ -8,16 +9,20 @@ jars = Dir[ENV["JOELIB2"]+"/*.jar"].collect {|f| File.expand_path(f) } deps = deps + jars ENV["CLASSPATH"] = deps.join(":") - require 'rubygems' -# AM LAST: can include both libs, no problems -require File.join(File.expand_path(File.dirname(__FILE__)), 'libfminer/libbbrc/bbrc') # has to be included before openbabel, otherwise we have strange SWIG overloading problems -require File.join(File.expand_path(File.dirname(__FILE__)), 'libfminer/liblast/last') # has to be included before openbabel, otherwise we have strange SWIG overloading problems -require File.join(File.expand_path(File.dirname(__FILE__)), 'last-utils/lu.rb') # AM LAST + + +# fminer libs to be included before openbabel, otherwise strange SWIG overloading problems +require File.join(File.expand_path(File.dirname(__FILE__)), 'libfminer/libbbrc/bbrc') +require File.join(File.expand_path(File.dirname(__FILE__)), 'libfminer/liblast/last') +require File.join(File.expand_path(File.dirname(__FILE__)), 'last-utils/lu.rb') + gem "opentox-ruby", "~> 3" require 'opentox-ruby' require 'rjb' + +# main require 'fminer.rb' require 'lazar.rb' require 'fs.rb' |