iconara / rubydoop

Write Hadoop jobs in JRuby
220 stars 33 forks source link

cannot load such file -- ant #31

Closed 759803573 closed 9 years ago

759803573 commented 9 years ago

I clone this repository and cd example/word_count/
when I bundle install && rake packags the error

rake aborted! cannot load such file -- ant

(See full trace by running task with --trace)

iconara commented 9 years ago

Have you tried installing Ant?

759803573 commented 9 years ago

Yes,I install Ant 2015-07-08 09 14 18

Sorry, my English is not well

wudixiaotie commented 9 years ago

I had this problem too, and I install ant too. 2015-07-17 15 48 13

wudixiaotie commented 9 years ago

I installed java and ruby, but not jruby, should I install jruby?

iconara commented 9 years ago

Yes, Rubydoop only runs in JRuby.

wudixiaotie commented 9 years ago

If I installed jruby, when I run "rake package", the rubydoop will automatic run jruby,not ruby?

iconara commented 9 years ago

Probably, but it depends on how you install things. If ruby -v says it's JRuby then rake package will most likely also run in JRuby. I can't help you get JRuby correctly installed.

wudixiaotie commented 9 years ago

Ok I know, that's simple, I just need to set some of my work folder use jruby as default. It is easy when I have rvm.Thank you very much. Have a nice day。 :+1: :+1: :+1:

759803573 commented 9 years ago

thank you