Created
July 5, 2010 22:37
-
-
Save calavera/464777 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| [david@calavera:voldemort-0.81]$ jdev -S jirb | |
| no such file to load -- wirble | |
| jruby-1.5.1 > require 'lib/voldemort_client' | |
| => true |
This file contains hidden or 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' | |
| PATH_TO_VOLDEMORT = '.' | |
| require File.expand_path('dist/voldemort-0.81.jar', PATH_TO_VOLDEMORT) | |
| Dir[File.expand_path('lib/*.jar', PATH_TO_VOLDEMORT)].each {|jar| require jar} | |
| #include_package "org.jdom" | |
| module VoldemortClient | |
| #include_package "voldemort.client" | |
| import 'voldemort.client.ClientConfig'; | |
| import 'voldemort.client.SocketStoreClientFactory'; | |
| import 'voldemort.client.StoreClient'; | |
| import 'voldemort.client.StoreClientFactory'; | |
| import 'voldemort.versioning.Versioned'; | |
| # alternately, use the #import method | |
| import "voldemort.client" | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it shouldn't be related with the environment. I'm also using a mac and I'm testing it with JRuby 1.5.1 and the development version and both work fine