Created
December 22, 2011 22:33
-
-
Save cableray/1512142 to your computer and use it in GitHub Desktop.
Trying to run solr in a thread
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'java' | |
require '/Users/cableray/.rvm/gems/jruby-1.6.5@busydocs/gems/sunspot_solr-1.3.0/solr/start.jar' | |
Dir['/Users/cableray/.rvm/gems/jruby-1.6.5@busydocs/gems/sunspot_solr-1.3.0/solr/lib/*.jar'].each {|f| require f} | |
Java::OrgMortbay.start.Main.main [] # not in a thread yet, but just trying to start it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment