diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-04-02 09:27:48 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-04-02 09:27:48 +0200 |
commit | 8de6b3ff0ee08c971c583a50d349a1db4b8638bc (patch) | |
tree | bc301a4527357d6f8ff364ae6b98ab698b11508e | |
parent | 3cd136861c68b8c24cc653c903c620d55be4b294 (diff) |
Removed Java ENV
-rw-r--r-- | application.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/application.rb b/application.rb index 7c76b15..730ef7d 100644 --- a/application.rb +++ b/application.rb @@ -1,14 +1,3 @@ -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 = [] -deps << "#{ENV["JAVA_HOME"]}/lib/tools.jar" -deps << "#{ENV["JAVA_HOME"]}/lib/classes.jar" -deps << "#{ENV["JOELIB2"]}" -jars = Dir[ENV["JOELIB2"]+"/*.jar"].collect {|f| File.expand_path(f) } -deps = deps + jars -ENV["CLASSPATH"] = deps.join(":") - - require 'rubygems' gem "opentox-ruby", "~> 3" require 'opentox-ruby' |