jashmenn / hector.rb

Hector-based Cassandra client for JRuby
11 stars 3 forks source link

Absence of /vendor/jars #2

Open mstump opened 12 years ago

mstump commented 12 years ago

So I'm attempting to use hector.rb in my first jruby project. I add the gem, attempt to start the rails server, and am immediatly greeted by the following error:

find: vendor/jars: No such file or directory
/Users/mstump/.rvm/gems/jruby-1.6.5/bundler/gems/hector.rb-d1040769324e/lib/../vendor/jars
Errno::ENOENT: No such file or directory - No such directory
  entries at org/jruby/RubyDir.java:360
   (root) at /Users/mstump/.rvm/gems/jruby-1.6.5/bundler/gems/hector.rb-d1040769324e/lib/hector.rb:13

From the looks of the code it appears as if you expect /vendor/jars to exist, and that it should contain the jars necessary for hector. I want to understand how you intended that these dependencies be met. Should we copy the jars ourselves to the correct directory, should they be distributed as part of the jar, or is there something else that I'm missing?

elubow commented 12 years ago

In order to get around this, you'll need to jump into the hector.rb dir and create a vendor/jars as you noted. Then head over here (https://github.com/rantav/hector/downloads) and download the latest and greatest of the jars tarball and put it in the vendor/jars directory. That should be helpful.

owenbendavies commented 12 years ago

I know this is an old issue, but we have created a fork of this project that includes the jars.

Owen